Commit Graph

18971 Commits

Author SHA1 Message Date
Jason Merrill
1873d7691d * tinfo.cc (operator==): Always compare names.
From-SVN: r23034
1998-10-12 16:08:54 -04:00
Jason Merrill
6f87c7d816 * collect2.c (extract_init_priority): No priority is 65535.
From-SVN: r23033
1998-10-12 16:08:10 -04:00
Robert Lipe
c98e175c2d typo fix in Jeff's Monday Morning fix. delte -> delete.
From-SVN: r23032
1998-10-12 19:58:23 +00:00
Herman ten Brugge
76fb7947e6 * decl.c (start_function): Fix cut-and-paste error.
From-SVN: r23031
1998-10-12 15:34:12 -04:00
Kaveh R. Ghazi
0816ebdd9b Warning fixes:
* bad.c (ffebad_finish): Change type of variable `c' to unsigned
        char, change type of variable `s' to unsigned char *.
        * com.c (ffecom_symbol_null_): Add missing initializers.
        * fini.c (MAXNAMELEN): Undef it before defining.
        * implic.c (ffeimplic_lookup_): Change type of parameter `c' to
        unsigned char.
        * intrin.c (ffeintrin_init_0): Cast the argument of ctype macros
        to (unsigned char).
        * lex.c (ffelex_splice_tokens): Change type of variable `p' to
        unsigned char *.
        (ffelex_token_name_from_names): Cast the argument of
        `ffelex_is_firstnamechar' to (unsigned char).
        (ffelex_token_names_from_names): Likewise.
        (ffelex_token_new_name): Likewise.
        (ffelex_token_new_names): Likewise.
        * malloc.c (malloc_root_): Add missing initializer.
        * stb.c (ffestb_do): Change type of variable `p' to unsigned char *.
        (ffestb_else) Likewise.
        (ffestb_else3_) Likewise.
        (ffestb_endxyz) Likewise.
        (ffestb_goto) Likewise.
        (ffestb_let) Likewise.
        (ffestb_varlist) Likewise.
        (ffestb_R522) Likewise.
        (ffestb_R528) Likewise.
        (ffestb_R834) Likewise.
        (ffestb_R835) Likewise.
        (ffestb_R838) Likewise.
        (ffestb_R1102) Likewise.
        (ffestb_blockdata) Likewise.
        (ffestb_R1212) Likewise.
        (ffestb_R810) Likewise.
        (ffestb_R10014_): Cast the argument of `ffelex_is_firstnamechar'
        to (unsigned char).
        (ffestb_V014): Change type of variable `p' to unsigned char *.
        (ffestb_dummy) Likewise.
        (ffestb_R524) Likewise.
        (ffestb_R547) Likewise.
        (ffestb_decl_chartype) Likewise.
        (ffestb_decl_dbltype) Likewise.
        (ffestb_decl_gentype) Likewise.
        (ffestb_decl_entsp_2_) Likewise.
        (ffestb_V027) Likewise.
        (ffestb_decl_R539) Likewise.
        * top.c (ffe_decode_option): Mark parameter `argc' with
        ATTRIBUTE_UNUSED.
        * where.c (ffewhere_unknown_line_): Add missing initializers.

From-SVN: r23030
1998-10-12 17:54:46 +00:00
Michael Tiemann
f77d841359 Fix parallel make problem.
* Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.

From-SVN: r23029
1998-10-12 10:45:24 -07:00
Nick Clifton
bfca295ff1 Replace (reg 24) with (reg:CC 24)
From-SVN: r23028
1998-10-12 15:58:14 +00:00
Mark Mitchell
1b06d1bb8d Install ChangeLog entry that got left out
From-SVN: r23027
1998-10-12 14:07:55 +00:00
Michael Meissner
2595d66b99 update copyright
From-SVN: r23026
1998-10-12 13:51:07 +00:00
Per Bothner
e4de5a1022
Merge from Cygnus internal source tree.

From-SVN: r23025
1998-10-12 05:43:53 -07:00
Per Bothner
8376a32eb1
Merge from Cygnus internal source tree.

From-SVN: r23024
1998-10-12 05:43:52 -07:00
Per Bothner
b67d701b4f Merge from Cygnus internal source tree.
From-SVN: r23023
1998-10-12 05:43:51 -07:00
Per Bothner
7e673abacc Merge from Cygnus internal source tree.
From-SVN: r23022
1998-10-12 05:43:48 -07:00
Per Bothner
1595a3297b
Merge from Cygnus internal source tree.

From-SVN: r23021
1998-10-12 05:43:39 -07:00
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