Commit Graph

19746 Commits

Author SHA1 Message Date
Jeffrey A Law
2ec10ea98a * except.c (set_exception_version_code): Argument is an "int".
From-SVN: r24085
1998-12-03 18:26:15 -07:00
Christopher Faylor
8d525fa8a7 * pexecute.c: Remove obsolete ifdefed cygwin code.
From-SVN: r24084
1998-12-03 18:21:00 -07:00
Jeff Law
36e77ea6ff Daily bump.
From-SVN: r24083
1998-12-03 17:45:02 -07:00
Joseph Myers
f4190acc20 pdp11.h: Use optimize_size for space optimizations.
* pdp11.h: Use optimize_size for space optimizations.
	* pdp11.c: Likewise.
	* pdp11.md: Likewise.

From-SVN: r24082
1998-12-03 17:40:21 -07:00
Jeff Law
d1a0959019 [multiple changes]
Fri Dec  4 01:34:02 1998  Jeffrey A Law  (law@cygnus.com)
        * config.guess: Improve detection of hppa2.0 processors.
Fri Dec  4 01:33:05 1998  Niall Smart <nialls@euristix.ie>
        * config.guess: Recognize FreeBSD using ELF automatically.

From-SVN: r24081
1998-12-03 17:36:49 -07:00
Robert Lipe
18cae839b4 configure.in (mipsel-*-linux*): New target.
* configure.in (mipsel-*-linux*): New target.
	* mips/linux.h: New file, based on other Linux targets.

From-SVN: r24080
1998-12-03 17:32:33 -07:00
Mike Stump
0fcff08299 gthr-vxworks.h (__ehdtor): Fix memory leak.
* gthr-vxworks.h (__ehdtor): Fix memory leak.  The delete hook
        runs in the context of the deleter, not the deletee, so we must
        use taskVarGet to find the correct memory to free.
        (__gthread_key_create): Initialize the task
        variable subsystem so that the task variable is still active when
        the delete hook is run.

From-SVN: r24079
1998-12-03 17:28:34 -07:00
Jeff Law
9f643ff81d * pdp11.h (TARGET_40_PLUS): Fix typo.
From-SVN: r24078
1998-12-03 17:24:58 -07:00
Alexandre Petit-Bianco
1886c9d836 java-tree.h (java_layout_seen_class_methods): New function prototype.
Thu Dec  3 17:11:12 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* java-tree.h (java_layout_seen_class_methods): New function
 	prototype.
	(LAYOUT_SEEN_CLASS_METHODS): Macro removed.
	* jcf-parse.c (parse_class_file): Call java_layout_seen_class_methods.
	* parse.h (PROMOTE_RECORD_IF_COMPLETE): New macro.
	* parse.y (method_declarator:): Defined action.
	(issue_warning_error_from_context): input_filename saved, set to
 	the appropriate value and restored after java_error is called.
	(build_unresolved_array_type): Fixed comment.
	(register_fields): Use PROMOTE_RECORD_IF_COMPLETE.
	(method_header): Deal with return type the same way type are
 	handled for fields and method's parameters and local variables
 	types are handled.
	(check_method_redefinition): Removed extra CR.
	(declare_local_variables): Use PROMOTE_RECORD_IF_COMPLETE.
	(java_layout_seen_class_methods): New function.
	(java_layout_classes): Call java_layout_seen_class_methods.
Handles an obsolete way of declaring methods returning an array. Does
a better job at laying out class methods before code generation.

From-SVN: r24077
1998-12-03 09:53:02 -08:00
Mark Mitchell
2036a15c6d class.c (handle_using_decl): Fix comment.
* class.c (handle_using_decl): Fix comment.  Don't lookup
	constructors in base classes.
	(validate_lhs): Fix typo in comment.
	* search.c (lookup_field_1): Don't return a USING_DECL.
	* cp-tree.h (DECL_ACCESS): Improve documentation.
	* decl.c (expand_static_init): Don't set the initialization-done
	flag until the initialization is done.

From-SVN: r24076
1998-12-03 16:58:03 +00:00
Per Bothner
52e01aa669 parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
* parse,y (patch_synchronized_statement):  Set CAN_COMPLETE_NORMALLY.

From-SVN: r24075
1998-12-03 07:58:21 -08:00
Per Bothner
55593efd85 parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
8
	* parse,y (patch_synchronized_statement):  Set CAN_COMPLETE_NORMALLY.

From-SVN: r24074
1998-12-03 07:58:20 -08:00
Per Bothner
66af84e403 jcf-dump.c (main): Fix error message.
* jcf-dump.c (main):  Fix error message.
	* jcf-path.c (add_entry):  Style fix.

From-SVN: r24073
1998-12-03 07:54:09 -08:00
Alexandre Oliva
b0e3f98f89 * g++.old-deja/g++.pt/overload8.C: New test.
From-SVN: r24072
1998-12-03 13:32:56 +00:00
Alexandre Oliva
10e209e304 * g++.old-deja/g++.pt/overload7.C: New test.
From-SVN: r24071
1998-12-03 12:52:05 +00:00
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