Commit Graph

19954 Commits

Author SHA1 Message Date
J"orn Rennecke 2b49ee3981 local-alloc.c (function_invariant_p): New function.
* local-alloc.c (function_invariant_p): New function.
	(update_equiv_regs): Use function_invariant_p instead of CONSTANT_P
	to decide if an equivalence should be recorded.
	* reload1.c (num_eliminable_invariants): New static variable.
	(reload): Set it.  Use function_invariant_p instead of CONSTANT_P
	to decide if an equivalence should be recorded.
	Unshare PLUS.
	(calculate_needs_all_insns): Skip insns that only set an equivalence.
	Take num_eliminable_invariants into account when deciding
	if register elimination should be done.
	(reload_as_needed): Take num_eliminable_invariants into account
	when deciding if register elimination should be done.
	(eliminate_regs): Handle non-constant reg_equiv_constant.
	* rtl.h (function_invariant_p): Declare.

From-SVN: r24026
1998-12-01 10:00:11 +00:00
Nick Clifton bbe348cd18 Add new test based on PR 18365
From-SVN: r24025
1998-12-01 09:40:02 +00:00
Alexandre Oliva 688d56bc92 * g++.old-deja/g++.pt/lookup6.C: New test.
From-SVN: r24024
1998-12-01 08:08:59 +00:00
Gerald Pfeifer 5eff2ed5e2 * egcs_update: Only touch files that already exist.
From-SVN: r24023
1998-12-01 05:04:12 +00:00
Jeff Law 3c3d82352e Daily bump.
From-SVN: r24022
1998-11-30 17:45:02 -07:00
Ulrich Drepper 53806e9a01 Update.
From-SVN: r24012
1998-11-30 09:41:18 +00:00
Ulrich Drepper a66e687475 (operator>>): Correct cast in last patch.
(getline): Likewise.

From-SVN: r24011
1998-11-30 09:40:56 +00:00
Jeff Law 163e9f96a7 Gavin now owns the C front-end and ISO C9X issues.
From-SVN: r24010
1998-11-30 02:17:29 -07:00
Joern Rennecke 8585f8f19f Comment typo fix.
From-SVN: r24009
1998-11-30 07:06:35 +00:00
Jeffrey A Law dfc00b3875 Bump for snapshot
From-SVN: r24005
1998-11-29 19:00:15 -07:00
Jeff Law 4c3c833ac8 Fix cvs?
Fix cvs? lossage.  Somehow the previous checkin scrogged this file.  The
lossage caused the snapshot diff + patch sanity check to fail due to a bogus
.diff file.

From-SVN: r24004
1998-11-29 18:38:10 -07:00
Jeff Law fb5b4d96f6 Daily bump.
From-SVN: r23996
1998-11-29 17:45:03 -07:00
Jeffrey A Law a8afb37706 Bump for snapshot
From-SVN: r23995
1998-11-29 17:43:02 -07:00
Jason Merrill 9bbdf48eea except.c (add_new_handler): Complain about additional handlers after one that catches everything.
* except.c (add_new_handler): Complain about additional handlers
	after one that catches everything.

From-SVN: r23990
1998-11-29 18:01:19 -05:00
Jason Merrill c4ec74e871 fix
From-SVN: r23983
1998-11-29 16:00:33 -05:00
Jason Merrill 7e2067caa6 typeck2.c (process_init_constructor): Use same_type_p.
* typeck2.c (process_init_constructor): Use same_type_p.
Fixes 834Y21a
	* decl.c (check_tag_decl): Don't warn about null decl inside a
	class.
Fixes _113Y11a

From-SVN: r23982
1998-11-29 13:27:12 -05:00
Jason Merrill 9f3d9e461c pt.c (unify, [...]): Pass down 'strict' rather than UNIFY_ALLOW_NONE.
* pt.c (unify, case OFFSET_TYPE): Pass down 'strict' rather than
	UNIFY_ALLOW_NONE.
	(convert_nontype_argument): Use TYPE_PTRMEMFUNC_FN_TYPE.
	(resolve_overloaded_unification): Strip baselinks.
Fixes Sec14/10_2/P14264.C, Sec14/10_2/P14278.C, Sec14/10_2/C14413.cm.

From-SVN: r23980
1998-11-29 10:30:30 -05:00
Alexandre Oliva cae94af846 test_summary (EOF): remove double backslash Reported by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* test_summary (EOF): remove double backslash
	Reported by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

From-SVN: r23974
1998-11-29 08:13:30 +00:00
Jeff Law 3ad4989ba5 Daily bump.
From-SVN: r23970
1998-11-28 17:45:02 -07:00
Alexandre Oliva ddf469ccca * test_summary (address): set to egcs-testresults mailing list
From-SVN: r23956
1998-11-28 14:15:43 +00:00
Jeffrey A Law 66953094ad configure.in (alpha*-*-netbsd): Fix typo.
* configure.in (alpha*-*-netbsd): Fix typo.
        * configure: Rebuilt.

From-SVN: r23945
1998-11-28 03:00:05 -07:00
Jeff Law 4c634349b0 Daily bump.
From-SVN: r23944
1998-11-27 17:45:02 -07:00
Alexandre Oliva 02b19f4191 bitset: explicitly convert basic_string<...>::npos to size_t in default argument to...
* bitset: explicitly convert basic_string<...>::npos to size_t in
	default argument to constructor, to avoid parse error at `>'
	(__STL_EXPLICIT_FUNCTION_TMPL_ARGS): replace #if with #ifdef

From-SVN: r23937
1998-11-27 12:10:39 +00:00
Alexandre Oliva 3993e0b395 * Makefile.in (HEADERS): Install bitset
From-SVN: r23936
1998-11-27 12:09:37 +00:00
Kaveh R. Ghazi 9b1a92d882 choose-temp.c: Always include libiberty.h.
* choose-temp.c: Always include libiberty.h.  Avoid redundancies.
        * cplus-dem.c: Likewise.  Conform to libiberty.h.
        * pexecute.c: Likewise.
        * splay-tree.c: Likewise.

From-SVN: r23935
1998-11-27 10:28:57 +00:00
Kaveh R. Ghazi 45254bf682 Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK).
* Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK).
        * jv-scan.c: Fix xmalloc prototype.  Provide an xmalloc definition.
        * jvgenmain.c: Remove the xmalloc prototype, we get it from
        libiberty.h.  Provide an xmalloc definition.
        * jvspec.c: Remove the xmalloc prototype.
        * parse-scan.y: Include config.h and system.h.  Don't include
        OS headers or gansidecl.h.  Don't prototype xmalloc/xstrdup.
        Provide an xstrdup definition.

From-SVN: r23934
1998-11-27 10:25:17 +00:00
Kaveh R. Ghazi a74d78dd51 fini.c: Rename variable `spaces' to `xspaces' to avoid conflicting with function...
* fini.c: Rename variable `spaces' to `xspaces' to avoid
        conflicting with function `spaces' from libiberty.
        * g77spec.c: Don't prototype libiberty functions.
        * malloc.c: Likewise.

From-SVN: r23933
1998-11-27 10:13:07 +00:00
Kaveh R. Ghazi 9d483bc479 * g++spec.c: Don't prototype xmalloc.
From-SVN: r23932
1998-11-27 10:10:02 +00:00
Kaveh R. Ghazi 2778b98d90 system.h: Include libiberty.h.
* system.h: Include libiberty.h.
        * c-aux-info.c: Remove prototypes for concat/concat3.  Change
        function `concat' from fixed parameters to variable parameters,
        as is done in libiberty.  All callers of concat/concat3
        changed to use the new `concat' with variable args.
        * cccp.c: Remove things made redundant by libiberty.h and/or
        conform to libiberty standards.
        * cexp.y: Likewise.
        * collect2.c: Likewise.
        * config/1750a/1750a.h: Likewise.
        * cppalloc.c: Likewise.
        * cppexp.c: Likewise.
        * cppfiles.c: Likewise.
        * cpphash.c: Likewise.
        * cpplib.c: Likewise.
        * dyn-string.c: Likewise.
        * fix-header.c: Likewise.
        * gcc.c: Likewise.
        * gcov.c: Likewise.
        * genattr.c: Likewise.
        * genattrtab.c: Likewise.
        * gencheck.c: Likewise.
        * gencodes.c: Likewise.
        * genconfig.c: Likewise.
        * genemit.c: Likewise.
        * genextract.c: Likewise.
        * genflags.c: Likewise.
        * gengenrtl.c: Likewise.
        * genopinit.c: Likewise.
        * genoutput.c: Likewise.
        * genpeep.c: Likewise.
        * genrecog.c: Likewise.
        * getpwd.c: Likewise.
        * halfpic.c: Likewise.
        * hash.c: Likewise.
        * mips-tdump.c: Likewise.  Wrap malloc/realloc/calloc prototypes
        in NEED_DECLARATION_* macros.
        * mips-tfile.c: Remove things made redundant by libiberty.h and/or
        conform to libiberty standards.
        (fatal): Fix const-ification of variable `format' in
        !ANSI_PROTOTYPES case.
        * prefix.c: Remove things made redundant by libiberty.h and/or
        conform to libiberty standards.
        * print-rtl.c: Rename variable `spaces' to `xspaces' to avoid
        conflicting with function `spaces' from libiberty.
        * profile.c: Remove things made redundant by libiberty.h and/or
        conform to libiberty standards.
        * protoize.c: Likewise.
        * rtl.h: Likewise.
        * scan.h: Likewise.
        * tlink.c: Likewise.
        * toplev.c: Likewise.
        * toplev.h: Likewise.
        * tree.h: Likewise.

From-SVN: r23931
1998-11-27 10:09:17 +00:00
Jeff Law 3081a3ada6 Daily bump.
From-SVN: r23927
1998-11-26 17:45:01 -07:00
Alexandre Oliva 308a214ae7 * g++.old-deja/g++.pt/explicit76.C: New test.
From-SVN: r23917
1998-11-26 21:22:51 +00:00
Alexandre Oliva 91910750a0 * g++.old-deja/g++.pt/friend38.C: New test.
From-SVN: r23916
1998-11-26 20:58:48 +00:00
Alexandre Oliva ea84ebc2bc added crash test
From-SVN: r23915
1998-11-26 20:57:42 +00:00
Alexandre Oliva fb63a8701e * g++.old-deja/g++.ns/crash2.C: New test.
From-SVN: r23914
1998-11-26 20:44:40 +00:00
Alexandre Oliva 6715688ead added crash test XFAIL
From-SVN: r23913
1998-11-26 20:39:54 +00:00
Alexandre Oliva c885faf89a * g++.old-deja/g++.pt/defarg8.C: New test.
From-SVN: r23912
1998-11-26 20:34:47 +00:00
Alexandre Oliva be537f34b0 * g++.old-deja/g++.pt/instantiate6.C: New test.
From-SVN: r23911
1998-11-26 20:03:21 +00:00
Alexandre Oliva bc4f0b0a26 * g++.old-deja/g++.pt/static6.C: New test.
From-SVN: r23910
1998-11-26 19:54:16 +00:00
Alexandre Oliva d1b0fca0d2 * g++.old-deja/g++.pt/decl2.C: New test.
From-SVN: r23909
1998-11-26 19:40:14 +00:00
Alexandre Oliva aa4d18c9f7 test_summary (address): added Marc Lehmann's testsuite-results to the default e-mail address
* test_summary (address): added Marc Lehmann's testsuite-results
	to the default e-mail address

From-SVN: r23908
1998-11-26 19:25:10 +00:00
Alexandre Oliva 076b41ee48 jcf-path.c (add_entry): recognize ".jar" too
* jcf-path.c (add_entry): recognize ".jar" too
	* lang-specs.h: ditto

From-SVN: r23907
1998-11-26 16:20:19 +00:00
Per Bothner c5941a9f1d jcf-write.c (generate_bytecode_insns): In Call_EXPR, handle soft_monitorenter_node, soft_monitorexit_node, throw_node.
* jcf-write.c (generate_bytecode_insns):  In Call_EXPR, handle
	soft_monitorenter_node, soft_monitorexit_node, throw_node.
  	Handle pre/post-increment/decrement of long.
	Handle missing exception handler (finally for synchronized).

From-SVN: r23904
1998-11-26 04:55:04 -08:00
Per Bothner 4c22d9c8f4 jcf-write.c (generate_bytecode_insns): In Call_EXPR, handle soft_monitorenter_node, soft_monitorexit_node, throw_node.
H
	* jcf-write.c (generate_bytecode_insns):  In Call_EXPR, handle
	soft_monitorenter_node, soft_monitorexit_node, throw_node.
  	Handle pre/post-increment/decrement of long.
	Handle missing exception handler (finally for synchronized).

From-SVN: r23903
1998-11-26 04:55:03 -08:00
Kaveh R. Ghazi 21380ab0bf * cppfiles.c (simplify_pathname): Un-ANSI-fy function definition.
From-SVN: r23898
1998-11-26 05:41:29 +00:00
Michael Hayes 6e863849fc README.C4X: Updated URLs.
* README.C4X: Updated URLs.
	* config/c4x/c4x.c (c4x_address_conflict): Fix typo.
	(valid_parallel_operands_5): Remove unused variable.

From-SVN: r23897
1998-11-26 02:51:40 +00:00
Michael Hayes d97860aee0 * config/c4x/c4x.h (TARGET_DEFAULT): Fix typo.
From-SVN: r23896
1998-11-26 02:39:15 +00:00
Manfred Hollstein 71205e0b3f configure (skip-this-dir): Add handling for new shell script...
./ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (skip-this-dir): Add handling for new shell script, which
	might be created by a sub-directory's configure to indicate, this particular
	directory is "unwanted".
	* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Likewise.
./gcc/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (CONFIG_LANGUAGES): New macro taking all languages
	which can be configured.
	(LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@
	(Makefile): Pass actual LANGUAGES through the environment when
	re-configuring.
	(cstamp-h): Likewise.
	(config.status): Likewise.
	* configure.in (enable_languages): Add new configuration parameter
	"--enable-languages=lang1,lang2,...".
	(${srcdir}/*/config-lang.in): Change handling to configure only
	those directories, that the user might have enabled; default to
	"all" existing languages.
	* configure: Regenerate.
./libchill/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libf2c/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libio/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
./libobjc/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libstdc++/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.

From-SVN: r23892
1998-11-26 01:48:34 +00:00
Jeff Law 7240472a01 Daily bump.
From-SVN: r23889
1998-11-25 17:45:02 -07:00
Richard Henderson a2e1a0bf9e rtlanal.c (regs_set_between_p): New function.
* rtlanal.c (regs_set_between_p): New function.
        * rtl.h (regs_set_between_p): Prototype it.
        * jump.c (jump_optimize): Use it instead of modified_between_p
        in the Sep 2 change.

From-SVN: r23888
1998-11-25 16:21:27 -08:00
Ian Dall 8357595779 Bulk ns32k patch from Ian Dall. See ChangeLog for details.
Co-Authored-By: Matthias Pfaller <leo@dachau.marco.de>

From-SVN: r23887
1998-11-25 15:34:42 -08:00