Commit Graph

16847 Commits

Author SHA1 Message Date
Jeff Law 4cb694888b Daily bump.
From-SVN: r20143
1998-05-29 18:45:02 -06:00
Scott Snyder 25868f6cad tree.c (layout_basetypes): If we change TYPE_SIZE, change TYPE_SIZE_UNIT too.
* tree.c (layout_basetypes): If we change TYPE_SIZE, change
	TYPE_SIZE_UNIT too.

From-SVN: r20142
1998-05-29 19:17:23 -04:00
Bruce Korb a681b39b1e changes
From-SVN: r20141
1998-05-29 14:58:40 +00:00
Bruce Korb 84e0c5a854 fixes from six months of fixincludes hacking
From-SVN: r20140
1998-05-29 14:54:55 +00:00
Mark Mitchell e23afa2511 decl.c (grokdeclarator): Don't complain about in-class initialization of static consts if...
* decl.c (grokdeclarator): Don't complain about in-class
	initialization of static consts if we don't really know the type
	of the variable.

From-SVN: r20139
1998-05-29 14:19:11 +00:00
Robert Lipe 2879ca2a89 Pick up a few scraggling files that missed my first add/commit cycle.
From-SVN: r20138
1998-05-29 08:10:44 +00:00
Robert Lipe 35c68eb5a6 Move the ERROR lines to where the errors actually are.
From-SVN: r20137
1998-05-29 07:48:37 +00:00
Jason Merrill 711734a9c6 cp-tree.h (DECL_DESTRUCTOR_P): New macro.
* cp-tree.h (DECL_DESTRUCTOR_P): New macro.
	* method.c (build_destructor_name): New fn.
	* decl2.c (maybe_retrofit_in_chrg): Split out...
	(grokclassfn): From here.  Reorganize.
	* decl.c (grok_ctor_properties): Make sure ctors for types with
	vbases have the in_chrg parm.
	* pt.c (instantiate_class_template): Update
	TYPE_USES_VIRTUAL_BASECLASSES from tsubsted bases.  Don't call
	grok_*_properties.
	(tsubst): Call grok_ctor_properties and maybe_retrofit_in_chrg.
	* pt.c (instantiate_decl): Make test for whether or not static
	variables should be instantiated early match its comment.

From-SVN: r20136
1998-05-28 22:33:54 -04:00
Jeffrey A Law c71407f935 jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER of a non-note insn.
* jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER
        of a non-note insn.

From-SVN: r20135
1998-05-28 19:01:21 -06:00
Jeffrey A Law d3903c22d5 gcse.c (pre_delete): Fix code to determine the mode of the reaching pseudo register.
* gcse.c (pre_delete): Fix code to determine the mode of
        the reaching pseudo register.

From-SVN: r20134
1998-05-28 18:50:16 -06:00
Jeff Law 1541dfa56c Daily bump.
From-SVN: r20133
1998-05-28 18:45:32 -06:00
Peter Leven 70a48c3f26 fp-cmp-1.c: Set up signal handler earlier.
* gcc.c-torture/execute/ieee/fp-cmp-1.c: Set up signal handler
        earlier.

From-SVN: r20132
1998-05-28 18:12:03 -06:00
Bernd Schmidt 8376d40053 Makefile.in (GEN): Add gencheck
* Makefile.in (GEN): Add gencheck
        (STAGESTUFF): Add tree-check.h and gencheck.

From-SVN: r20131
1998-05-28 18:09:05 -06:00
Bruce Korb 71d085b0af Makefile.in (cstamp-h.in): Remove before trying to recreate.
* Makefile.in (cstamp-h.in): Remove before trying to recreate.
        (fixinc.sh): Set some additional environment variables before
        calling mkfixinc.sh.

From-SVN: r20130
1998-05-28 18:00:05 -06:00
Jason Merrill 943ebe57bb remove
From-SVN: r20129
1998-05-28 19:53:15 -04:00
Jason Merrill e4aa777f19 fix
From-SVN: r20128
1998-05-28 19:52:21 -04:00
Robert Lipe 7326d37741 g++ now recognizes the error.
From-SVN: r20127
1998-05-28 23:06:53 +00:00
Robert Lipe 75a50bd193 Martin says: This makes a good namespace test case :-) we should leave it.
From-SVN: r20126
1998-05-28 23:04:32 +00:00
Robert Lipe 7da5687438 Code is in error. Insure EGCS reports that.
From-SVN: r20125
1998-05-28 23:02:25 +00:00
Robert Lipe 6af1aa2996 eb28.C eb29.C eb60.C eb62.C
all compile for Martin, so we added directives to build, but not link
these cases.

From-SVN: r20124
1998-05-28 22:44:20 +00:00
Robert Lipe 26decc86c6 This test case should be removed.
This test case should be removed. No diagnoses of such "incorrect" asm
statements need to be performed.
Martin

From-SVN: r20123
1998-05-28 22:15:42 +00:00
Jeff Law ad72907694 reload.c (find_reloads): Do not force a reloads of match_operators.
8
        * reload.c (find_reloads): Do not force a reloads of match_operators.

From-SVN: r20122
1998-05-28 05:59:30 -06:00
Jeff Law f4d1453e0f reload.c (find_reloads): Do not force a reloads of match_operators.
�
        * reload.c (find_reloads): Do not force a reloads of match_operators.

From-SVN: r20121
1998-05-28 05:59:28 -06:00
Bruce Korb b76756e4f6 makefile changes to support all this
From-SVN: r20120
1998-05-28 09:26:20 +00:00
Bruce Korb 6efa7eb6ce finally, the script to install the fixincludes
From-SVN: r20119
1998-05-28 09:24:08 +00:00
Bruce Korb 4c184c2c88 Changes for POSIX-ification (I hope)
From-SVN: r20118
1998-05-28 09:21:29 +00:00
Bruce Korb c16b55aa5e Added exclusion of C++ files for double slash fix
From-SVN: r20117
1998-05-28 09:20:28 +00:00
Bruce Korb 8a5b8e20b7 Commentary on fast_fixincludes
From-SVN: r20116
1998-05-28 09:09:05 +00:00
Andrew MacLeod 9f8e62437f Flow now removes exception regions when their handlers are all removed.
From-SVN: r20115
1998-05-28 07:32:33 +00:00
Michael Meissner d05a5492a5 Make rtx, tree types type correct if the appropriate include files was not included
From-SVN: r20114
1998-05-28 06:47:21 +00:00
Jason Merrill b7698cf042 decl.c (start_decl): Always pedwarn about vacuously redeclaring a member.
* decl.c (start_decl): Always pedwarn about vacuously redeclaring
	a member.
	(start_function): Call check_default_args.
	* decl2.c (grokfield): Don't call check_default_args.
	(check_default_args): Use cp_error_at.
	* lex.c (do_pending_defargs): Call check_default_args.
	* call.c (build_scoped_method_call): Make sure get_type_value returns
	something before we try to use its TYPE_MAIN_VARIANT.

From-SVN: r20113
1998-05-27 21:44:29 -04:00
Jason Merrill be3a14bbbb * index-prop: New file.
From-SVN: r20112
1998-05-27 21:36:06 -04:00
Jeff Law 67cf6db6a0 Daily bump.
From-SVN: r20111
1998-05-27 18:45:02 -06:00
Jason Merrill 8c90d61111 call.c (build_method_call): Make sure get_type_value returns something before we try to use its...
* call.c (build_method_call): Make sure get_type_value returns
	something before we try to use its TYPE_MAIN_VARIANT.
	* typeck2.c (digest_init): Complain about getting a TREE_LIST to
	initialize an array.
	* search.c (expand_upcast_fixups): Don't set DECL_CONTEXT and
	DECL_VIRTUAL_P.

From-SVN: r20110
1998-05-27 20:11:24 -04:00
Catherine Moore ca379c1cd3 * gcc.c-torture/execute/980526-3.c: New test.
From-SVN: r20109
1998-05-27 17:15:48 -06:00
Jason Merrill dd2b44ff26 * friend.c (do_friend): Clarify template warning.
From-SVN: r20108
1998-05-27 19:06:46 -04:00
Robert Lipe 26963cc3e1 Addition of a whole slew of "eb" test cases generated from the egcs-bugs mailing lists.
Addition of a whole slew of "eb" test cases generated from the egcs-bugs
mailing lists.     See g++.robertl/README

From-SVN: r20107
1998-05-27 23:00:37 +00:00
Jeffrey A Law 5bc80b30df * reload1.c: Revert accidental checkin.
From-SVN: r20106
1998-05-27 16:42:52 -06:00
Jeffrey A Law ed385fd92a configure.lang: Fix thinko when adding a definition for target_alias to the Makefile.
* configure.lang: Fix thinko when adding a definition for
        target_alias to the Makefile.

From-SVN: r20094
1998-05-27 15:01:48 -06:00
Mark Mitchell 120722ac70 decl.c (shadow_label): Don't treat decls as identifiers.
* decl.c (shadow_label): Don't treat decls as identifiers.
	(maybe_push_to_top_level): Clear shadowed_labels.
	* pt.c (instantiate_decl): Reset lineno and filename after calling
	regenerate_decl_from_template.

From-SVN: r20093
1998-05-27 19:11:36 +00:00
David Edelsohn b608647a8a add PTF number to AIX 4.3 assembler information.
From-SVN: r20092
1998-05-27 08:54:15 -04:00
Catherine Moore 00c26dc209
From-SVN: r20091
1998-05-27 08:44:13 -04:00
Catherine Moore 9718d50bb5 Replace .urem and .rem routines.
Replace .urem and .rem routines.  Fix a problem
with signed operands and uses leaf procedure calling
convention.

From-SVN: r20090
1998-05-27 08:40:31 -04:00
Benjamin Kosnik c111bb67de *** empty log message ***
From-SVN: r20089
1998-05-27 12:05:04 +00:00
Mark Mitchell 1aed535530 decl.c (grokdeclarator): Don't try to use TYPE_OBSTACK on an error_mark_node.
* decl.c (grokdeclarator): Don't try to use TYPE_OBSTACK on an
	error_mark_node.

From-SVN: r20088
1998-05-27 07:07:24 +00:00
Richard Earnshaw d499463f26 arm.c (arm_gen_constant): Rework to eliminate uninitialized variable warnings.
* arm.c (arm_gen_constant): Rework to eliminate uninitialized variable
warnings.  Don't generate scratch registers if only counting insns.
(find_barrier): Eliminate unused variable SRC.

From-SVN: r20087
1998-05-27 02:52:25 +00:00
Kevin Buhr 01fc71f4b1 * parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.
From-SVN: r20086
1998-05-26 21:25:47 -04:00
Jeff Law 8b150cb5be Daily bump.
From-SVN: r20085
1998-05-26 18:45:01 -06:00
Kriang Lerdsuwanakij 410c2fbabe pt.c (process_template_parm): Accept TYPENAME_TYPE nodes.
* pt.c (process_template_parm): Accept TYPENAME_TYPE nodes.
	(convert_nontype_argument): Handle cases when nontype template
	parameters become classes after substitution.

From-SVN: r20084
1998-05-26 19:54:23 -04:00
Manfred Hollstein 8da801cf85 thunk2.C: Setup this test to be expected to fail on m68k-motorola-sysv and...
�
	* g++.old-deja/g++.jason/thunk2.C: Setup this test to be expected to
	fail on m68k-motorola-sysv and m88k-motorola-sysv3.
	* g++.old-deja/g++.jason/thunk3.C: Add m68k-motorola-sysv and
	m88k-motorola-sysv3 to XFAIL.

From-SVN: r20083
1998-05-26 23:47:46 +00:00