Jeff Law [Fri, 4 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24083
Joseph Myers [Fri, 4 Dec 1998 00:40:21 +0000 (17:40 -0700)]
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
Jeff Law [Fri, 4 Dec 1998 00:36:49 +0000 (17:36 -0700)]
[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
Robert Lipe [Fri, 4 Dec 1998 00:32:33 +0000 (00:32 +0000)]
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
Mike Stump [Fri, 4 Dec 1998 00:28:34 +0000 (00:28 +0000)]
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
Jeff Law [Fri, 4 Dec 1998 00:24:58 +0000 (17:24 -0700)]
* pdp11.h (TARGET_40_PLUS): Fix typo.
From-SVN: r24078
Alexandre Petit-Bianco [Thu, 3 Dec 1998 17:53:02 +0000 (17:53 +0000)]
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
Mark Mitchell [Thu, 3 Dec 1998 16:58:03 +0000 (16:58 +0000)]
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
Per Bothner [Thu, 3 Dec 1998 15:58:21 +0000 (07:58 -0800)]
parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
* parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
From-SVN: r24075
Per Bothner [Thu, 3 Dec 1998 15:58:20 +0000 (07:58 -0800)]
parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
8
* parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
From-SVN: r24074
Per Bothner [Thu, 3 Dec 1998 15:54:09 +0000 (15:54 +0000)]
jcf-dump.c (main): Fix error message.
* jcf-dump.c (main): Fix error message.
* jcf-path.c (add_entry): Style fix.
From-SVN: r24073
Alexandre Oliva [Thu, 3 Dec 1998 13:32:56 +0000 (13:32 +0000)]
* g++.old-deja/g++.pt/overload8.C: New test.
From-SVN: r24072
Alexandre Oliva [Thu, 3 Dec 1998 12:52:05 +0000 (12:52 +0000)]
* g++.old-deja/g++.pt/overload7.C: New test.
From-SVN: r24071
Alexandre Oliva [Thu, 3 Dec 1998 11:24:23 +0000 (11:24 +0000)]
* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus
From-SVN: r24070
Alexandre Oliva [Thu, 3 Dec 1998 11:21:28 +0000 (11:21 +0000)]
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
Michael Hayes [Thu, 3 Dec 1998 01:32:23 +0000 (01:32 +0000)]
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
Jeff Law [Thu, 3 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24067
Joseph Myers [Wed, 2 Dec 1998 18:56:11 +0000 (11:56 -0700)]
* pdp11.md (extendsfdf2): Fix mode mismatch in SET.
From-SVN: r24066
Alexandre Petit-Bianco [Wed, 2 Dec 1998 16:47:33 +0000 (16:47 +0000)]
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
Jim Wilson [Wed, 2 Dec 1998 11:22:06 +0000 (11:22 +0000)]
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
Ulrich Drepper [Wed, 2 Dec 1998 10:47:38 +0000 (10:47 +0000)]
Update.
From-SVN: r24063
Ulrich Drepper [Wed, 2 Dec 1998 10:44:51 +0000 (10:44 +0000)]
Fix indentation from last patch.
Remove trailing whitespace.
From-SVN: r24062
Ulrich Drepper [Wed, 2 Dec 1998 10:36:07 +0000 (10:36 +0000)]
Fix indentation from last patch.
Remove trailing whitespace.
From-SVN: r24061
Mark Mitchell [Wed, 2 Dec 1998 10:12:20 +0000 (10:12 +0000)]
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
Jeff Law [Wed, 2 Dec 1998 09:14:57 +0000 (02:14 -0700)]
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
Jeff Law [Wed, 2 Dec 1998 09:14:54 +0000 (02:14 -0700)]
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
Ulrich Drepper [Wed, 2 Dec 1998 08:08:38 +0000 (08:08 +0000)]
Add missing @section.
From-SVN: r24057
Jeff Law [Wed, 2 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24054
Jeffrey A Law [Tue, 1 Dec 1998 23:50:04 +0000 (23:50 +0000)]
* mips.md (trap_if): Use "$0" for the value zero.
From-SVN: r24053
Jeffrey A Law [Tue, 1 Dec 1998 23:19:12 +0000 (23:19 +0000)]
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
Ulrich Drepper [Tue, 1 Dec 1998 21:05:17 +0000 (21:05 +0000)]
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
Stan Cox [Tue, 1 Dec 1998 19:14:51 +0000 (19:14 +0000)]
mips.md (div_trap): Lost last return while editing conflicts.
From-SVN: r24048
Stan Cox [Tue, 1 Dec 1998 16:52:56 +0000 (16:52 +0000)]
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
Herman A.J. ten Brugge [Tue, 1 Dec 1998 15:06:35 +0000 (16:06 +0100)]
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
Jeffrey A Law [Tue, 1 Dec 1998 14:36:51 +0000 (14:36 +0000)]
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
Alexandre Petit-Bianco [Tue, 1 Dec 1998 14:28:02 +0000 (14:28 +0000)]
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
Richard Henderson [Tue, 1 Dec 1998 11:56:06 +0000 (03:56 -0800)]
* final.c (final_scan_insn): Abort if block_depth falls below 0.
From-SVN: r24030
J"orn Rennecke [Tue, 1 Dec 1998 10:53:54 +0000 (10:53 +0000)]
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
Tom Tromey [Tue, 1 Dec 1998 10:48:39 +0000 (10:48 +0000)]
Makefile.in (+target): Removed.
* Makefile.in (+target): Removed.
(+xmake_file): Likewise.
(+tmake_file): Likewise.
(.NOEXPORT): Removed duplicate.
From-SVN: r24028
Nick Clifton [Tue, 1 Dec 1998 10:28:32 +0000 (10:28 +0000)]
Fix problems encountered after recent egcs->devo marge
From-SVN: r24027
J"orn Rennecke [Tue, 1 Dec 1998 10:00:11 +0000 (10:00 +0000)]
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
Nick Clifton [Tue, 1 Dec 1998 09:40:02 +0000 (09:40 +0000)]
Add new test based on PR 18365
From-SVN: r24025
Alexandre Oliva [Tue, 1 Dec 1998 08:08:59 +0000 (08:08 +0000)]
* g++.old-deja/g++.pt/lookup6.C: New test.
From-SVN: r24024
Gerald Pfeifer [Tue, 1 Dec 1998 05:04:12 +0000 (06:04 +0100)]
* egcs_update: Only touch files that already exist.
From-SVN: r24023
Jeff Law [Tue, 1 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24022
Ulrich Drepper [Mon, 30 Nov 1998 09:41:18 +0000 (09:41 +0000)]
Update.
From-SVN: r24012
Ulrich Drepper [Mon, 30 Nov 1998 09:40:56 +0000 (09:40 +0000)]
(operator>>): Correct cast in last patch.
(getline): Likewise.
From-SVN: r24011
Jeff Law [Mon, 30 Nov 1998 09:17:29 +0000 (02:17 -0700)]
Gavin now owns the C front-end and ISO C9X issues.
From-SVN: r24010
Joern Rennecke [Mon, 30 Nov 1998 07:06:35 +0000 (07:06 +0000)]
Comment typo fix.
From-SVN: r24009
Jeffrey A Law [Mon, 30 Nov 1998 02:00:15 +0000 (19:00 -0700)]
Bump for snapshot
From-SVN: r24005
Jeff Law [Mon, 30 Nov 1998 01:38:10 +0000 (18:38 -0700)]
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
Jeff Law [Mon, 30 Nov 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r23996
Jeffrey A Law [Mon, 30 Nov 1998 00:43:02 +0000 (17:43 -0700)]
Bump for snapshot
From-SVN: r23995
Jason Merrill [Sun, 29 Nov 1998 23:01:19 +0000 (23:01 +0000)]
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
Jason Merrill [Sun, 29 Nov 1998 21:00:33 +0000 (16:00 -0500)]
fix
From-SVN: r23983
Jason Merrill [Sun, 29 Nov 1998 18:27:12 +0000 (18:27 +0000)]
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
Jason Merrill [Sun, 29 Nov 1998 15:30:30 +0000 (15:30 +0000)]
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
Alexandre Oliva [Sun, 29 Nov 1998 08:13:30 +0000 (08:13 +0000)]
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
Jeff Law [Sun, 29 Nov 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r23970
Alexandre Oliva [Sat, 28 Nov 1998 14:15:43 +0000 (14:15 +0000)]
* test_summary (address): set to egcs-testresults mailing list
From-SVN: r23956
Jeffrey A Law [Sat, 28 Nov 1998 10:00:05 +0000 (10:00 +0000)]
configure.in (alpha*-*-netbsd): Fix typo.
* configure.in (alpha*-*-netbsd): Fix typo.
* configure: Rebuilt.
From-SVN: r23945
Jeff Law [Sat, 28 Nov 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r23944
Alexandre Oliva [Fri, 27 Nov 1998 12:10:39 +0000 (12:10 +0000)]
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
Alexandre Oliva [Fri, 27 Nov 1998 12:09:37 +0000 (12:09 +0000)]
* Makefile.in (HEADERS): Install bitset
From-SVN: r23936
Kaveh R. Ghazi [Fri, 27 Nov 1998 10:28:57 +0000 (10:28 +0000)]
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
Kaveh R. Ghazi [Fri, 27 Nov 1998 10:25:17 +0000 (10:25 +0000)]
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
Kaveh R. Ghazi [Fri, 27 Nov 1998 10:13:07 +0000 (10:13 +0000)]
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
Kaveh R. Ghazi [Fri, 27 Nov 1998 10:10:02 +0000 (10:10 +0000)]
* g++spec.c: Don't prototype xmalloc.
From-SVN: r23932
Kaveh R. Ghazi [Fri, 27 Nov 1998 10:09:17 +0000 (10:09 +0000)]
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
Jeff Law [Fri, 27 Nov 1998 00:45:01 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r23927
Alexandre Oliva [Thu, 26 Nov 1998 21:22:51 +0000 (21:22 +0000)]
* g++.old-deja/g++.pt/explicit76.C: New test.
From-SVN: r23917
Alexandre Oliva [Thu, 26 Nov 1998 20:58:48 +0000 (20:58 +0000)]
* g++.old-deja/g++.pt/friend38.C: New test.
From-SVN: r23916
Alexandre Oliva [Thu, 26 Nov 1998 20:57:42 +0000 (20:57 +0000)]
added crash test
From-SVN: r23915
Alexandre Oliva [Thu, 26 Nov 1998 20:44:40 +0000 (20:44 +0000)]
* g++.old-deja/g++.ns/crash2.C: New test.
From-SVN: r23914
Alexandre Oliva [Thu, 26 Nov 1998 20:39:54 +0000 (20:39 +0000)]
added crash test XFAIL
From-SVN: r23913
Alexandre Oliva [Thu, 26 Nov 1998 20:34:47 +0000 (20:34 +0000)]
* g++.old-deja/g++.pt/defarg8.C: New test.
From-SVN: r23912
Alexandre Oliva [Thu, 26 Nov 1998 20:03:21 +0000 (20:03 +0000)]
* g++.old-deja/g++.pt/instantiate6.C: New test.
From-SVN: r23911
Alexandre Oliva [Thu, 26 Nov 1998 19:54:16 +0000 (19:54 +0000)]
* g++.old-deja/g++.pt/static6.C: New test.
From-SVN: r23910
Alexandre Oliva [Thu, 26 Nov 1998 19:40:14 +0000 (19:40 +0000)]
* g++.old-deja/g++.pt/decl2.C: New test.
From-SVN: r23909
Alexandre Oliva [Thu, 26 Nov 1998 19:25:10 +0000 (19:25 +0000)]
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
Alexandre Oliva [Thu, 26 Nov 1998 16:20:19 +0000 (16:20 +0000)]
jcf-path.c (add_entry): recognize ".jar" too
* jcf-path.c (add_entry): recognize ".jar" too
* lang-specs.h: ditto
From-SVN: r23907
Per Bothner [Thu, 26 Nov 1998 12:55:04 +0000 (04:55 -0800)]
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
Per Bothner [Thu, 26 Nov 1998 12:55:03 +0000 (04:55 -0800)]
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
Kaveh R. Ghazi [Thu, 26 Nov 1998 05:41:29 +0000 (05:41 +0000)]
* cppfiles.c (simplify_pathname): Un-ANSI-fy function definition.
From-SVN: r23898
Michael Hayes [Thu, 26 Nov 1998 02:51:40 +0000 (02:51 +0000)]
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
Michael Hayes [Thu, 26 Nov 1998 02:39:15 +0000 (02:39 +0000)]
* config/c4x/c4x.h (TARGET_DEFAULT): Fix typo.
From-SVN: r23896
Manfred Hollstein [Thu, 26 Nov 1998 01:48:34 +0000 (01:48 +0000)]
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
Jeff Law [Thu, 26 Nov 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r23889
Richard Henderson [Thu, 26 Nov 1998 00:21:27 +0000 (16:21 -0800)]
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
Ian Dall [Wed, 25 Nov 1998 23:34:42 +0000 (23:34 +0000)]
Bulk ns32k patch from Ian Dall. See ChangeLog for details.
Co-Authored-By: Matthias Pfaller <leo@dachau.marco.de>
From-SVN: r23887
Tom Tromey [Wed, 25 Nov 1998 22:46:28 +0000 (22:46 +0000)]
* gcc.c (option_map): Recognize --output-class-directory.
From-SVN: r23886
Michael Hayes [Wed, 25 Nov 1998 21:32:27 +0000 (21:32 +0000)]
loop.h (precondition_loop_p): Added new mode argument.
* loop.h (precondition_loop_p): Added new mode argument.
* unroll.c (precondition_loop_p): Likewise.
(approx_final_value): Function deleted and subsumed
into loop_iterations.
(loop_find_equiv_value): New function.
(loop_iterations): Use loop_find_equiv_value to find increments
too large to be immediate constants. Also use it to find terms
common to initial and final iteration values that can be removed.
From-SVN: r23885
Michael Hayes [Wed, 25 Nov 1998 21:19:21 +0000 (21:19 +0000)]
loop.h (struct loop_info): Define new structure.
* loop.h (struct loop_info): Define new structure.
(precondition_loop_p): Added prototype.
(unroll_loop): Added new argument loop_info to prototype.
(final_biv_value, final_giv_value): Added new argument n_iterations
to prototype.
* loop.c (strength_reduce): Declare new structure loop_iteration_info
and new pointer loop_info.
(loop_n_iterations): Replace global variable by element in
loop_info structure.
(check_final_value): New argument n_iterations.
(insert_bct): New argument loop_info.
(loop_unroll_factor): Replace global array by element in
loop_info structure.
(loop_optimize): Remove code to allocate and initialise
loop_unroll_factor_array.
* unroll.c (precondition_loop_p): No longer static since
used by branch on count optimization.
(precondition_loop_p, unroll_loop): New argument loop_info.
(final_biv_value, final_giv_value, find_splittable_regs): New
argument n_iterations.
(loop_iteration_var, loop_initial_value, loop_increment,
loop_final_value, loop_comparison_code, loop_unroll_factor):
Replaced global variables by loop_info structure.
(loop_unroll_factor): Replace global array by element in
loop_info structure.
From-SVN: r23884
Michael Hayes [Wed, 25 Nov 1998 20:51:09 +0000 (20:51 +0000)]
loop.c (check_dbra_loop): Update JUMP_LABEL field of jump insn when loop reversed.
* loop.c (check_dbra_loop): Update JUMP_LABEL field of jump insn
when loop reversed.
* unroll.c (precondition_loop_p): Return loop_initial_value
for initial_value instead of loop_iteration_var.
From-SVN: r23881
Michael Hayes [Wed, 25 Nov 1998 20:21:49 +0000 (20:21 +0000)]
c4x.md: Fix minor formatting problems.
* config/c4x/c4x.md: Fix minor formatting problems. Update docs.
(*b, *b_rev, *b_noov, *b_noov_rev, *db,
decrement_and_branch_until_zero, rptb_end): Use c4x_output_cbranch
to output the instruction sequences.
(rpts): Delete.
(rptb_top): Provide alternatives to use any register or memory
for loop counter.
(rptb_end): Emit use of operands rather than assigning them
explicitly to the RS and RE registers.
From-SVN: r23880
Michael Hayes [Wed, 25 Nov 1998 19:59:39 +0000 (19:59 +0000)]
c4x.c: (c4x_override_options): For compatibility with old target options clear...
* config/c4x/c4x.c: (c4x_override_options): For compatibility
with old target options clear flag_branch_on_count_reg if
-mno-rptb specified and set flag_argument_alias is -mno-aliases
specified.
(c4x_output_cbranch): Handle a sequence of insns rather than a
single insn.
(c4x_rptb_insert): Do not emit a RPTB insn if the RC register
has not been allocated as the loop counter.
(c4x_address_conflict): Do not allow two volatile memory references.
(valid_parallel_operands_4, valid_parallel_operands_5,
valid_parallel_operands_6): Reject pattern if the register destination
of the first set is used as part of an address in the second set.
From-SVN: r23879
Michael Hayes [Wed, 25 Nov 1998 19:45:42 +0000 (19:45 +0000)]
c4x.c (c4x_modified_between_p, [...]): Delete.
* config/c4x/c4x.c (c4x_modified_between_p, c4x_mem_set_p,
c4x_mem_set_p, c4x_mem_modified_between_p, c4x_insn_moveable_p,
c4x_parallel_pack, c4x_parallel_find, c4x_update_info_reg,
c4x_update_info_regs, c4x_copy_insn_after, c4x_copy_insns_after,
c4x_merge_notes, c4x_parallel_process,
c4x_combine_parallel_independent, c4x_combine_parallel_dependent,
c4x_combine_parallel): Delete.
From-SVN: r23878
Alexandre Oliva [Wed, 25 Nov 1998 18:29:12 +0000 (18:29 +0000)]
lookup5.C: New test.
* g++.old-deja/g++.other/lookup5.C: New test. Not sure the
problem is actually related with name lookup, but so what? :-)
From-SVN: r23877
Michael Hayes [Wed, 25 Nov 1998 18:10:29 +0000 (18:10 +0000)]
c4x.h (TARGET_DEFAULT): Add PARALEL_MPY_FLAG.
* config/c4x/c4x.h (TARGET_DEFAULT): Add PARALEL_MPY_FLAG.
(TARGET_SMALL_REG_CLASS): Set to 0 so that SMALL_REGISTER_CLASSES
is no longer enabled if PARALLEL_MPY_FLAG set.
(HARD_REGNO_CALL_CLOBBERED): Add parentheses to remove ambiguity.
(REG_CLASS_CONTENTS): Add braces around initializers.
(HAVE_MULTIPLE_PACK): Define.
(ASM_OUTPUT_BYTE_FLOAT): Use %lf format specifier with
REAL_VALUE_TO_DECIMAL.
(ASM_OUTPUT_SHORT_FLOAT): Use %lf format specifier with
REAL_VALUE_TO_DECIMAL.
(ar0_reg_operand): Add prototype.
(ar0_mem_operand): Likewise.
(ar1_reg_operand): Likewise.
(ar1_mem_operand): Likewise.
(ar2_reg_operand): Likewise.
(ar2_mem_operand): Likewise.
(ar3_reg_operand): Likewise.
(ar3_mem_operand): Likewise.
(ar4_reg_operand): Likewise.
(ar4_mem_operand): Likewise.
(ar5_reg_operand): Likewise.
(ar5_mem_operand): Likewise.
(ar6_reg_operand): Likewise.
(ar6_mem_operand): Likewise.
(ar7_reg_operand): Likewise.
(ar7_mem_operand): Likewise.
(ir0_reg_operand): Likewise.
(ir0_mem_operand): Likewise.
(ir1_reg_operand): Likewise.
(ir1_mem_operand): Likewise.
(group1_reg_operand): Likewise.
(group1_mem_operand): Likewise.
(ir1_reg_operand): Likewise.
(arx_reg_operand): Likewise.
(not_rc_reg): Likewise.
(not_modify_reg): Likewise.
(c4x_group1_reg_operand): Remove prototype.
(c4x_group1_mem_operand): Likewise.
(c4x_arx_reg_operand): Likewise.
From-SVN: r23876
Alexandre Oliva [Wed, 25 Nov 1998 18:07:33 +0000 (18:07 +0000)]
* g++.old-deja/g++.pt/friend37.C: New test.
From-SVN: r23875