Commit Graph

17026 Commits

Author SHA1 Message Date
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
Manfred Hollstein
aa7ad670c5 toplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.
* toplev.h (rtx_def): Provide global declaration to avoid
	`limited scope' warnings.

From-SVN: r20082
1998-05-26 23:42:31 +00:00
Manfred Hollstein
62fe00be68 toplev.h (rtx_def): Provide global declaration to avoid `limited scope' warnings.
�
	* toplev.h (rtx_def): Provide global declaration to avoid
	`limited scope' warnings.

From-SVN: r20081
1998-05-26 23:42:30 +00:00
Mark Mitchell
ea4e080b25 friend.c (is_friend): Use comptypes, rather than == to compare types.
* friend.c (is_friend): Use comptypes, rather than == to compare
	types.  Modify for new representation of template friends.
	(make_friend_class): Likewise.
	* pt.c (tsubst_friend_class): Undo 1998-05-21 change.  Tweak.
	(instantiate_class_template): Deal with template friends.

From-SVN: r20080
1998-05-26 23:17:56 +00:00
Franz Sirl
f5e23e0df7 980526-1.c: New test.
* gcc.dg/980526-1.c: New test.
        * gcc.c-torture/execute/980526-2.c: New test.

From-SVN: r20078
1998-05-26 17:01:48 -06:00
Jeffrey A Law
077e57d255 * gcc.dg/980523-1.c: Change "ppc" to "powerpc".
From-SVN: r20077
1998-05-26 16:55:47 -06:00
Jeff Law
f095f92e43 Fix typo.
From-SVN: r20076
1998-05-26 16:54:19 -06:00
Mumit Khan
1a4bf22fb1 Makefile.in (gencheck.o): Use HOST_CC.
* Makefile.in (gencheck.o): Use HOST_CC.
        * i386/t-mingw32: New file.
        * configure.in (i386-*-mingw32*): Use.

From-SVN: r20073
1998-05-26 16:49:49 -06:00
Jeffrey A Law
74cd6867e7 * gcc.c-torture/execute/980526-1.c: New test.
From-SVN: r20072
1998-05-26 16:41:54 -06:00
Jeff Law
a07c9e2b45 char *version_string = "egcs-2.91.33 19980526 (gcc2 ss-980502 experimental)";
From-SVN: r20068
1998-05-26 15:24:58 -06:00
Mark Mitchell
a8f3f283e0 decl.c (store_parm_decls): Remove redundant call to expand_main_function.
* decl.c (store_parm_decls): Remove redundant call to
	expand_main_function.

From-SVN: r20067
1998-05-26 20:59:35 +00:00
Benjamin Kosnik
a9afaadb7b decl.c (start_decl): Check for DECL_LANG_SPECIFIC before DECL_USE_TEMPLATE.
�
1998-05-26  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (start_decl): Check for DECL_LANG_SPECIFIC before
 	DECL_USE_TEMPLATE.
more QT++ fixes.

From-SVN: r20066
1998-05-26 19:29:41 +00:00
Benjamin Kosnik
dff3e828d1 decl.c (start_decl): Check for DECL_LANG_SPECIFIC before DECL_USE_TEMPLATE.
�
1998-05-26  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (start_decl): Check for DECL_LANG_SPECIFIC before
 	DECL_USE_TEMPLATE.
more QT++ fixes.

From-SVN: r20065
1998-05-26 19:29:39 +00:00
Dave Love
ef75df4210 alpha2.f: Add runtime test.
1998-05-26  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/alpha2.f: Add runtime test.

From-SVN: r20064
1998-05-26 14:11:33 +00:00
Dave Love
75466740df Add runtime test.
From-SVN: r20063
1998-05-26 14:08:56 +00:00
Per Bothner
31b72b87a0 language_as_string: Handle lang_java.
�
	* language_as_string:  Handle lang_java.

From-SVN: r20062
1998-05-26 05:55:06 -07:00
Jason Merrill
7fb4a8f7e6 decl.c (pushdecl): Don't copy the type_decl.
* decl.c (pushdecl): Don't copy the type_decl.
	* class.c (pushclass): Always store TYPE_MAIN_VARIANT in
	current_class_type.
	* decl.c (grokdeclarator): Put typedefs on the type's obstack.
	* parse.y (complex_direct_notype_declarator): Use $1 to access
	scope of notype_qualified_id.

From-SVN: r20061
1998-05-26 07:43:52 -04:00
Jason Merrill
97cf4d2d5d new
From-SVN: r20060
1998-05-26 07:43:44 -04:00
Dave Brolley
276ca6eaf8 lex.c (parse_options,yy_cur,yy_lim): Add for cpplib.
1998-05-26  Dave Brolley  <brolley@cygnus.com>
	* lex.c (parse_options,yy_cur,yy_lim): Add for cpplib.
	(init_parse): Initialize cpplib interface.
	* Makefile.in (CXX_OBJS): Make sure dependencies nenver end with an
	empty continuation.

From-SVN: r20059
1998-05-26 06:47:58 -04:00
Richard Earnshaw
ad076f4e6d arm.c: Include toplev.h.
* arm.c: Include toplev.h.
(arm_override_options): Add parentheses around use of tune_flags.
(arm_split_constant): Remove unused variable.
(arm_gen_constant, arm_gen_movstrqi, add_constant): Likewise.
(output_func_prologue, arm_expand_prologue): Likewise.
(arm_canonicalize_comparison): Make I unsigned; rework constants
accordignly.  Add missing paratheses around << operation.
(arm_rtx_costs): Correctly parenthesise MULT costs.  Add a DEFAULT
clause.
({load,store}_multiple_sequence): Initialize BASE_REG.
(select_dominance_cc_mode): Add DEFAULT clauses.
(broken_move): Return zero if the destination is not a register.
(arm_reorg): Move unused REGNO declaration into the dead code.
* arm.h (CANONICALIZE_COMPARISON): Ensure OP1 is updated.

From-SVN: r20058
1998-05-26 09:30:56 +00:00
Richard Earnshaw
4d818c8540 arm.c (bad_signed_byte_operand): New predicate function.
* arm.c (bad_signed_byte_operand): New predicate function.
* arm.h (PREDICATE_CODES): Add it to the list.
* arm.md (*extendqi[sh]i_insn): Split any addresses that ldrsb
can't handle.
(define_split): Two new splits for above insns.

From-SVN: r20057
1998-05-26 07:37:15 +00:00
Mark Mitchell
312a0c9073 decl.c (pushtag): Avoid crashing on erroneous input.
1998-05-25  Mark Mitchell  <mark@markmitchell.com>
	* decl.c (pushtag): Avoid crashing on erroneous input.

From-SVN: r20056
1998-05-26 07:02:37 +00:00