Commit Graph

19981 Commits

Author SHA1 Message Date
Alexandre Oliva 174a498bca * g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus
From-SVN: r24070
1998-12-03 11:24:23 +00:00
Alexandre Oliva 16fe4796d6 old-dejagnu.exp (old-dejagnu): ignore collect recompiling and relinking messages
* lib/old-dejagnu.exp (old-dejagnu): ignore collect recompiling
	and relinking messages
	* lib/g++.exp (g++_target_compile): remove .rpo file when
	compiling with -frepo

From-SVN: r24069
1998-12-03 11:21:28 +00:00
Michael Hayes 39cec1ac5a alias.c (addr_side_effect_eval): New function.
* alias.c (addr_side_effect_eval): New function.
	(memrefs_conflict_p): Use it.
	* rtl.h (addr_side_effect_eval): Prototype it.

From-SVN: r24068
1998-12-03 01:32:23 +00:00
Jeff Law 5cf068b168 Daily bump.
From-SVN: r24067
1998-12-02 17:45:03 -07:00
Joseph Myers a6a715cacc * pdp11.md (extendsfdf2): Fix mode mismatch in SET.
From-SVN: r24066
1998-12-02 11:56:11 -07:00
Alexandre Petit-Bianco c3f2a47690 class.c (layout_class_method): Call build_java_argument_signature on constructors too.
Wed Dec  2 15:52:25 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* class.c (layout_class_method): Call build_java_argument_signature
	on constructors too.
	* parse.y (check_method_redefinition): Use TYPE_ARGUMENT_SIGNATURE.
	(patch_method_invocation): Define a primary when resolving an
 	expression name. Augmented comment on code checking illegal `this'
 	usage. Loosened it test by accepting NEW_CLASS_EXPR.

From-SVN: r24065
1998-12-02 08:47:33 -08:00
Jim Wilson 226592de98 Fix reload bug that forced earlier x86 LEGITIMATE_CONSTANT_P change.
* reload.c (find_reloads): When force const to memory, put result
	in substed_operand not *recog_operand_loc.

From-SVN: r24064
1998-12-02 03:22:06 -08:00
Ulrich Drepper 1747054ffd Update.
From-SVN: r24063
1998-12-02 10:47:38 +00:00
Ulrich Drepper b6ca239df2 Fix indentation from last patch.
Remove trailing whitespace.

From-SVN: r24062
1998-12-02 10:44:51 +00:00
Ulrich Drepper 75cb8865ae Fix indentation from last patch.
Remove trailing whitespace.

From-SVN: r24061
1998-12-02 10:36:07 +00:00
Mark Mitchell 066b4a1cc8 decl2.c (validate_nonmember_using_decl): Complain about using declarations for class members.
* decl2.c (validate_nonmember_using_decl): Complain about using
	declarations for class members.

From-SVN: r24060
1998-12-02 10:12:20 +00:00
Jeff Law b7f7462b7a flow.c (delete_block): Call set_last_insn after we have reset NEXT_INSN (kept_tail).
8
        * flow.c (delete_block): Call set_last_insn after we have reset
        NEXT_INSN (kept_tail).

From-SVN: r24059
1998-12-02 02:14:57 -07:00
Jeff Law 2536e1eefe flow.c (delete_block): Call set_last_insn after we have reset NEXT_INSN (kept_tail).
�
        * flow.c (delete_block): Call set_last_insn after we have reset
        NEXT_INSN (kept_tail).

From-SVN: r24058
1998-12-02 02:14:54 -07:00
Ulrich Drepper 6b42b9ea0a Add missing @section.
From-SVN: r24057
1998-12-02 08:08:38 +00:00
Jeff Law 2c09c59554 Daily bump.
From-SVN: r24054
1998-12-01 17:45:02 -07:00
Jeffrey A Law b151501eba * mips.md (trap_if): Use "$0" for the value zero.
From-SVN: r24053
1998-12-01 16:50:04 -07:00
Jeffrey A Law e3f6ee2303 flow.c (delete_block): Call set_last_insn if we end up deleting the last insn in the rtl chain.
* flow.c (delete_block): Call set_last_insn if we end up deleting the
	last insn in the rtl chain.

From-SVN: r24052
1998-12-01 16:19:12 -07:00
Ulrich Drepper 6f4d72224e c-common.c (declare_function_name): Declare predefinied variable `__func__'.
* c-common.c (declare_function_name): Declare predefinied variable
        `__func__'.
        * c-decl.c (flag_isoc9x): Set to 1 by default.
        (c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
        (grokdeclarator): Always emit warning about implicit int for ISO C 9x.
        * c-parse.in: Allow constructors in ISO C 9x.
        Rewrite designator list handling.
        Allow [*] parameters.
        Don't warn about comma at end of enum definition for ISO C 9x.
        * cccp.c (c9x): New variable.
        (rest_extension): New variable.
        (print_help): Document new -std= option.
        (main): Recognize -std= option.  Set c9x appropriately.
        (create_definition): Recognize ISO C 9x vararg macros.
        * gcc.c (default_compilers): Adjust specs for -std options.
        (option_map): Add --std.
        (display_help): Document -std.
        * toplev.c (documented_lang_options): Add -std and remove
        -flang-isoc9x.
        * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
        or REAL_VALUE_HTOF based on base of the constants.
        * fold-const.c (real_hex_to_f): New function.  Replacement function
        for hex FP conversion if REAL_ARITHMETIC is not defined.
        * real.c (asctoeg): Add handling of hex FP constants.
        * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
        real_hex_to_f.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
Co-Authored-By: Stephen L Moshier <moshier@world.std.com>

From-SVN: r24049
1998-12-01 13:05:17 -08:00
Stan Cox 8da31fc171 mips.md (div_trap): Lost last return while editing conflicts.
From-SVN: r24048
1998-12-01 19:14:51 +00:00
Stan Cox 08c2951c86 mips.md (divmodsi4*, [...]): Add -mcheck-range-division/ -mcheck-zero-division checking.
* mips.md (divmodsi4*, divmoddi4*, udivmodsi4*, udivmoddi4): Add -mcheck-range-division/
-mcheck-zero-division checking.  Avoid as macro expansion.  Use hi/lo as destination
register.
(div_trap): New.
(divsi3*, divdi3*, modsi3*, moddi3*, udivsi3*, udivdi3*, umodsi3*,
umoddi3*): Add -mcheck-range-division/-mcheck-zero-division checking.
Avoid as macro expansion.  Use hi/lo as destination register.
* mips.h (MASK_CHECK_RANGE_DIV): New.
(MASK_NO_CHECK_ZERO_DIV): New.
(ELIMINABLE_REGS): Added GP_REG_FIRST + 31.
(CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): Allow for getting
return address for leaf functions out of r31 to support
builtin_return_address.

From-SVN: r24047
1998-12-01 16:52:56 +00:00
Herman A.J. ten Brugge 1f5fb51fab Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
        * jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x),
        NEXT_INSN(x) to check insn x.

From-SVN: r24046
1998-12-01 07:06:35 -08:00
Jeffrey A Law 45c85c4e71 reload1.c (reload): Do not set reload_completed or split insns here.
* reload1.c (reload): Do not set reload_completed or split insns
        here.  Instead...
        * toplev.c (rest_of_compilation): Set reload_completed after
        reload returns.  Split insns after reload_cse has run.

From-SVN: r24037
1998-12-01 07:36:51 -07:00
Alexandre Petit-Bianco 82371d41c2 class.c (layout_class_method): Don't report error on non-static overriding static if the method is private.
Tue Dec  1 13:53:24 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* class.c (layout_class_method): Don't report error on non-static
 	overriding static if the method is private.
	* java-tree.h (finish_class): Prototype added.
	* lex.c (java_get_line_col): Handle col argument -2 value.
	* parse.h: All static method declarations moved to parse.y.
	* parse.y: Now contains all static method declarations previously
 	found in parse.h.
	(find_expr_with_wfl, missing_return_error,
 	unreachable_stmt_error): New functions.
	(java_get_real_method_name): Identify constructors bearing class
 	names in source code compiled classes only.
	(java_complete_expand_methods): Call missing_return_error.
	(invocation_mode): Private methods invoked as static methods.
	(java_complete_tree): Call unreachable_stmt_error.
This patch corrects the way unreachable statement and missing return
statement errors are reported. It also fixes random bugs.

From-SVN: r24036
1998-12-01 06:28:02 -08:00
Richard Henderson df3ba30ac3 * final.c (final_scan_insn): Abort if block_depth falls below 0.
From-SVN: r24030
1998-12-01 03:56:06 -08:00
J"orn Rennecke 78a2bc0856 reload1.c (emit_reload_insns): Clear spill_reg_store when doing a new non-inherited reload from the same pseudo.
* reload1.c (emit_reload_insns): Clear spill_reg_store
        when doing a new non-inherited reload from the same pseudo.

From-SVN: r24029
1998-12-01 03:53:54 -07:00
Tom Tromey de80f41622 Makefile.in (+target): Removed.
* Makefile.in (+target): Removed.
	(+xmake_file): Likewise.
	(+tmake_file): Likewise.
	(.NOEXPORT): Removed duplicate.

From-SVN: r24028
1998-12-01 10:48:39 +00:00
Nick Clifton bbc1b3f793 Fix problems encountered after recent egcs->devo marge
From-SVN: r24027
1998-12-01 10:28:32 +00:00
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