Commit Graph

19007 Commits

Author SHA1 Message Date
Per Bothner
9d45bec23d 8
Merge from Cygnus internal source tree.

From-SVN: r23020
1998-10-12 05:43:33 -07:00
Per Bothner
a7303141b4 *** empty log message ***
From-SVN: r23019
1998-10-12 05:43:32 -07:00
Per Bothner
6d6044b0e6 Merge from Cygnus internal source tree.
From-SVN: r23018
1998-10-12 05:43:28 -07:00
Alexandre Oliva
6f144c9cf5 Makefile.in (build_tooldir): new variable...
* Makefile.in (build_tooldir): new variable, same as old
	$(tooldir), but without depending on $(libdir)/$(unlibsubdir)
	(GCC_FOR_TARGET): add -B$(build_tooldir)/bin/
	(bootstrap, bootstrap2, bootstrap3, bootstrap4): ditto
	* configure.in (gxx_include_dir): set default based on unlibsubdir
	* Makefile.in (tooldir): ditto
	(cccp.o, cpplib.o): use unlibsubdir implicitly through
	gxx_include_dir, includedir and tooldir
	(protoize.o, unprotoize.o): ditto

From-SVN: r23017
1998-10-12 05:14:11 -06:00
Jeff Law
5cb95c7ac4 Makefile.in (CHILL_FOR_TARGET): Mirror recent changes to CC_FOR_TARGET and friends.
* Makefile.in (CHILL_FOR_TARGET): Mirror recent changes to
        CC_FOR_TARGET and friends.
Mon Oct 12 12:09:30 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
        * Makefile.in (build_tooldir): new variable, same as tooldir
        (CC_FOR_TARGET, GCC_FOR_TARGET, CXX_FOR_TARGET): add
        -B$(build_tooldir)/bin/
        (BASE_FLAGS_TO_PASS): pass build_tooldir down

From-SVN: r23016
1998-10-12 05:11:16 -06:00
Dave Love
5ddbf40f38 open.c (_XOPEN_SOURCE): Define.
1998-10-12  Dave Love  <fx@gnu.org>
	* libI77/open.c (_XOPEN_SOURCE): Define.

From-SVN: r23015
1998-10-12 11:09:53 +00:00
Dave Love
724f93e7c0 Makefile.in (.SUFFIXES): Don't use any.
1998-10-12  Dave Love  <fx@gnu.org>
	* Makefile.in (.SUFFIXES): Don't use any.
	(all-unilib): New target, like old all.
	(all): Use it.
	(.PHONY): Add all-unilib.

From-SVN: r23014
1998-10-12 11:08:12 +00:00
Nick Clifton
25b1c156df thumb.c - add warning about PIC code not being supported just yet.
arm.c - synchronised with devo
arm.md - synchronised with devo
README-interworking - sychronised with devo.

From-SVN: r23013
1998-10-12 10:53:08 +00:00
Jeff Law
5d4a5ee6d9 Final changes from devo<->egcs merge.
Final changes from devo<->egcs merge.  Ugh, a year of configury/Makefile
hacking.

From-SVN: r23012
1998-10-12 04:44:57 -06:00
John Wehle
fdb8a883a4 flow.c: Update comment.
* flow.c: Update comment.
        (notice_stack_pointer_modification): New static function.
        (record_volatile_insns): Use it.
        (mark_regs_live_at_end): Mark the stack pointer as alive
        at the end of the function if current_function_sp_is_unchanging
        is set.
        (life_analysis_1): Set current_function_sp_is_unchanging.
        * function.c: Define it.
        (init_function_start): Initialize it.
        * output.h: Declare it.
        * reorg.c (fill_simple_delay_slots, dbr_schedule): Mark
        the stack pointer as alive at the end of the function if
        current_function_sp_is_unchanging is set.
        * i386.c (ix86_epilogue): Optimize the restoring
        of the stack pointer.

From-SVN: r23009
1998-10-12 04:06:49 -06:00
Alexandre Oliva
3babe36c37 config.shared (depend.new): delete libc-lock.h from dependencies, and fix _G_config.h -> $(_G_CONFIG_H) rule
* config.shared (depend.new): delete libc-lock.h from
	dependencies, and fix _G_config.h -> $(_G_CONFIG_H) rule
	* depend: Rebuilt.

From-SVN: r23008
1998-10-12 09:28:02 +00:00
Alexandre Oliva
a5703c818f instantiate5.C: New test.
* g++.old-deja/g++.pt/instantiate5.C: New test.  `global
	constructors' name is not unique
	* g++.old-deja/g++.pt/instantiate5.cc: ditto
	* g++.old-deja/g++.pt/instantiate5-main.cc: ditto

From-SVN: r23007
1998-10-12 09:25:50 +00:00
Alexandre Oliva
ba5494e3bc explicit74.C: New test.
* g++.old-deja/g++.pt/explicit74.C: New test.  Explicit
 	instantiation of template produces incorrect code for delete
 	expression.

From-SVN: r23006
1998-10-12 05:12:44 +00:00
Dave Love
9eb3f9c994 configure.in: Reorder Makefile, g2c.h in AC_OUTPUT.
1998-10-12  Dave Love  <d.love@dl.ac.uk>
	* configure.in: Reorder Makefile, g2c.h in AC_OUTPUT.

From-SVN: r23005
1998-10-12 02:52:16 +00:00
Jason Merrill
ecc1211d56 t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Define.
* i386/t-cygwin32 (TARGET_LIBGCC2_CFLAGS): Define.
(cp)	* inc/typeinfo: Add #pragma interface.
	(operator!=): Just call operator==.
	* tinfo.cc: Add #pragma implementation.
	(operator==): Move from inc/typeinfo and tinfo2.cc.
	Check __COMMON_UNRELIABLE instead of _WIN32.

From-SVN: r23004
1998-10-11 22:14:03 -04:00
Jason Merrill
acf82af24f typeck2.c (my_friendly_abort): Add URL.
* typeck2.c (my_friendly_abort): Add URL.
	* decl.c (start_method): Added extra parameter for attributes.
	* cp-tree.h (start_method): Update prototype.
	* parse.y (fn.def2): Update start_method parameter list.

From-SVN: r23003
1998-10-11 22:08:18 -04:00
Jeffrey A Law
bfbd500aaa Bump for snapshot
From-SVN: r23001
1998-10-11 19:22:57 -06:00
Jeff Law
93a945d9ae Daily bump.
From-SVN: r23000
1998-10-11 18:45:02 -06:00
Alexandre Oliva
4f0af2c1e8 init8.C: New test.
* g++.old-deja/g++.other/init8.C: New test.  uninitialized
 	automatic array of const is ill-formed

From-SVN: r22999
1998-10-11 22:52:49 +00:00
Michael Hayes
44e5b6c170 Add Michael Hayes as c4x maintainer
From-SVN: r22998
1998-10-11 21:38:14 +00:00
Robert Lipe
7169a02931 c-pragma.c (handle_pragma_token): If passed a token instead of a tree, use that as the pack value.
* c-pragma.c (handle_pragma_token): If passed a token instead
        of a tree, use that as the pack value.

From-SVN: r22997
1998-10-11 21:05:04 +00:00
Alexandre Oliva
411e094cbe ttp53.C: New test.
* g++.old-deja/g++.pt/ttp53.C: New test.  incorrect substitution
	of template parameter?

From-SVN: r22996
1998-10-11 19:59:27 +00:00
Alexandre Oliva
7c7bfd9114 conv3.C: New test.
* g++.old-deja/g++.other/conv3.C: New test.  conversion discards
	const

From-SVN: r22995
1998-10-11 19:36:47 +00:00
Alexandre Oliva
9896d23c07 pmf2.C: New test.
* g++.old-deja/g++.other/pmf2.C: New test.  invalid
	pointer-to-member expression

From-SVN: r22994
1998-10-11 19:29:17 +00:00
Alexandre Oliva
5adc18d7cb friend5.C: New test.
* g++.old-deja/g++.other/friend5.C: New test.  bogus friend
	declaration causes ICE

From-SVN: r22993
1998-10-11 19:23:16 +00:00
Alexandre Oliva
72b1c4daac main1.C: New test.
* g++.old-deja/g++.ns/main1.C: New test.  main() should only be
 	reserved in the global namespace

From-SVN: r22992
1998-10-11 18:53:41 +00:00
Mark Mitchell
7f6391b208 * stl_config.h (__SGI_STL_USE_AUTO_PTR_CONVERSIONS): Define.
From-SVN: r22989
1998-10-11 17:55:56 +00:00
Mark Mitchell
5ada5d0f99 memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
* memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
	(auto_ptr::operator auto_ptr<_Tp1>): Add missing
	semicolon.

From-SVN: r22988
1998-10-11 17:48:12 +00:00
Mark Mitchell
6df47b0613 cp-tree.h (specializations_of_same_template_p): Declare.
* cp-tree.h (specializations_of_same_template_p): Declare.
	* pt.c (specializations_of_same_template_p): New function.
	(unify): Use it.
	* search.c (get_template_base): Use it.
	(get_template_base_recursive): Likewise.

From-SVN: r22987
1998-10-11 17:38:53 +00:00
Mark Mitchell
4a7bd8e25b * flow.c (find_basic_blocks_1): Fix prototype.
From-SVN: r22986
1998-10-11 15:02:04 +00:00
Alexandre Oliva
0126020166 instantiate4.C: New test: -frepo does not generate needed virtual table
* g++.old-deja/g++.pt/instantiate4.C: New test: -frepo does not
	generate needed virtual table
	* lib/old-dejagnu.exp (old-dejagnu): support `Build then link:'

From-SVN: r22984
1998-10-11 11:12:06 +00:00
Ken Raeburn
7d384cc0b3 Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage attribute.
Fine-grained control of -fcheck-memory-usage with new no_check_memory_usage
attribute.  Misc minor bugfixes and tests for it too.

From-SVN: r22983
1998-10-11 02:21:54 +00:00
Jeffrey A Law
e41887f1fc config.shared (depend.new): Fix typo.
* config.shared (depend.new): Fix typo.
        * depend: Rebuilt.

From-SVN: r22982
1998-10-10 18:53:50 -06:00
Jeff Law
9d0135060f Daily bump.
From-SVN: r22981
1998-10-10 18:45:02 -06:00
Zack Weinberg
faa765969f cppexp.c: When forcing unsigned comparisons, cast both sides of the operation.
* cppexp.c: When forcing unsigned comparisons, cast both sides
        of the operation.
        * cpphash.h: Move static declaration of hashtab[]...
        * cpphash.c: ...here.
        * cpplib.c: Cast difference of two pointers to size_t before
        comparing it to size_t.  Cast signed to unsigned
        before comparing to size_t. (FIXME: struct argdata should use
        unsigned buffer sizes.)
        * cpplib.h (struct cpp_reader): Declare token_buffer_size as
        unsigned int. (CPP_WRITTEN): Cast return value to size_t.
        (CPP_RESERVE): Parenthesize N for evaluation order, cast to
        size_t before comparison.

From-SVN: r22980
1998-10-10 18:05:11 -06:00
Jeffrey A Law
9265dacf25 flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
* flow.c (find_basic_blocks): Delte "live_reachable_p" argument.
        (find_basic_blocks_1): Similarly.
        * output.h (find_basic_blocks): Fix prototype.
        * gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
        find_basic_blocks anymore.

From-SVN: r22979
1998-10-10 17:18:32 -06:00
Richard Henderson
a86d864c41 basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
* basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
        (sbitmap_free, sbitmap_vector_free): New macros.
        * output.h (rtl_dump_file): Declare.

From-SVN: r22978
1998-10-10 15:03:34 -07:00
Jeffrey A Law
937e37cc6e * regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.
From-SVN: r22977
1998-10-10 10:03:44 -06:00
Alexandre Oliva
3aeab4377c these XFAILs are hard to get right on the first try.
these XFAILs are hard to get right on the first try.  Yet harder when results
are different on different platforms :-)

From-SVN: r22976
1998-10-10 11:50:22 +00:00
Manfred Hollstein
066d147cbf decl2.c (start_objects): Add new variable `joiner' and initialize it properly.
8
	* decl2.c (start_objects): Add new variable `joiner' and
	initialize it properly.

From-SVN: r22975
1998-10-10 09:24:06 +00:00
Manfred Hollstein
182ed311af decl2.c (start_objects): Add new variable `joiner' and initialize it properly.
�
	* decl2.c (start_objects): Add new variable `joiner' and
	initialize it properly.

From-SVN: r22974
1998-10-10 09:24:04 +00:00
Alexandre Oliva
ce88636209 typeof is an extension, -ansi -pedantic (default options) wouldn't
accept it; make it __typeof__

From-SVN: r22973
1998-10-10 08:15:19 +00:00
Dariush Eslimi
71685c48ea typeof1.C: New test; typeof based on template-dependent type
* g++.old-deja/g++.ext/typeof1.C: New test; typeof based on
	template-dependent type

From-SVN: r22972
1998-10-10 08:11:06 +00:00
Alexandre Oliva
e98791f8a6 parse3.C: XFAILs, not ERRORs
* g++.old-deja/g++.brendan/parse3.C: XFAILs, not ERRORs
	* g++.old-deja/g++.brendan/parse5.C: XFAILs, not ERRORs
	* g++.old-deja/g++.brendan/parse6.C: XFAILs, not ERRORs

From-SVN: r22971
1998-10-10 07:51:24 +00:00
Alexandre Oliva
2feb9724a1 using5.C: New test; using decl from base class should be usable as argument of member function
* g++.old-deja/g++.other/using5.C: New test; using decl from base
 	class should be usable as argument of member function
	* g++.old-deja/g++.other/using6.C: New test; using decl from base
 	class should be usable as return type of member function
	* g++.old-deja/g++.other/using7.C: New test; using decl from base
 	class should be usable as type of data member

From-SVN: r22970
1998-10-10 07:38:29 +00:00
Jeff Law
827204e706 Daily bump.
From-SVN: r22969
1998-10-09 18:45:01 -06:00
Alexandre Oliva
4acf6064f2 * g++.old-deja/g++.ns/extern1.C: fix XFAIL mark
From-SVN: r22968
1998-10-09 21:25:57 +00:00
Kaveh R. Ghazi
a0a190d4d9 Warning fixes:
* fp-bit.c (SFtype): Don't implicitly use int in declaration.
        (DFtype): Likewise.
        (_fpdiv_parts): Remove unused parameter `tmp', all callers changed.
        (divide): Remove unused variable `tmp'.
        (si_to_float): Cast numeric constant to (SItype) before comparing
        it against one.

From-SVN: r22967
1998-10-09 19:17:54 +00:00
Jeff Law
1a34b7b328 920521-1.c: Fix bogus test.
8
        * gcc.c-torture/special/920521-1.c: Fix bogus test.

From-SVN: r22966
1998-10-09 12:22:11 -06:00
Jeff Law
bb0f4c31d3 920521-1.c: Fix bogus test.
�
        * gcc.c-torture/special/920521-1.c: Fix bogus test.

From-SVN: r22965
1998-10-09 12:22:09 -06:00