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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24064
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Wed, 2 Dec 1998 10:47:38 +0000 (10:47 +0000)]
Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24063
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Wed, 2 Dec 1998 10:44:51 +0000 (10:44 +0000)]
Fix indentation from last patch.
Remove trailing whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24062
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Wed, 2 Dec 1998 10:36:07 +0000 (10:36 +0000)]
Fix indentation from last patch.
Remove trailing whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24061
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 2 Dec 1998 10:12:20 +0000 (10:12 +0000)]
* decl2.c (validate_nonmember_using_decl): Complain about using
declarations for class members.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24060
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 2 Dec 1998 09:14:57 +0000 (09:14 +0000)]
8
* flow.c (delete_block): Call set_last_insn after we have reset
NEXT_INSN (kept_tail).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24059
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 2 Dec 1998 09:14:54 +0000 (09:14 +0000)]
�
* flow.c (delete_block): Call set_last_insn after we have reset
NEXT_INSN (kept_tail).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24058
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Wed, 2 Dec 1998 08:08:38 +0000 (08:08 +0000)]
Add missing @section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24057
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 2 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24054
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 1 Dec 1998 23:50:04 +0000 (23:50 +0000)]
* mips.md (trap_if): Use "$0" for the value zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24053
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24052
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 1 Dec 1998 21:05:17 +0000 (21:05 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24049
138bc75d-0d04-0410-961f-
82ee72b054a4
scox [Tue, 1 Dec 1998 19:14:51 +0000 (19:14 +0000)]
mips.md (div_trap): Lost last return while editing conflicts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24048
138bc75d-0d04-0410-961f-
82ee72b054a4
scox [Tue, 1 Dec 1998 16:52:56 +0000 (16:52 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24047
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 1 Dec 1998 15:06:35 +0000 (15:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24046
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 1 Dec 1998 14:36:51 +0000 (14:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24037
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Tue, 1 Dec 1998 14:28:02 +0000 (14:28 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24036
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 1 Dec 1998 11:56:06 +0000 (11:56 +0000)]
* final.c (final_scan_insn): Abort if block_depth falls below 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24030
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24029
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 1 Dec 1998 10:48:39 +0000 (10:48 +0000)]
* Makefile.in (+target): Removed.
(+xmake_file): Likewise.
(+tmake_file): Likewise.
(.NOEXPORT): Removed duplicate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24028
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 1 Dec 1998 10:28:32 +0000 (10:28 +0000)]
Fix problems encountered after recent egcs->devo marge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24027
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Tue, 1 Dec 1998 10:00:11 +0000 (10:00 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24026
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 1 Dec 1998 09:40:02 +0000 (09:40 +0000)]
Add new test based on PR 18365
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24025
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Tue, 1 Dec 1998 08:08:59 +0000 (08:08 +0000)]
* g++.old-deja/g++.pt/lookup6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24024
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Tue, 1 Dec 1998 05:04:12 +0000 (05:04 +0000)]
* egcs_update: Only touch files that already exist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24023
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 1 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24022
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Mon, 30 Nov 1998 09:41:18 +0000 (09:41 +0000)]
Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24012
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Mon, 30 Nov 1998 09:40:56 +0000 (09:40 +0000)]
(operator>>): Correct cast in last patch.
(getline): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24011
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 30 Nov 1998 09:17:29 +0000 (09:17 +0000)]
Gavin now owns the C front-end and ISO C9X issues.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24010
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 30 Nov 1998 07:06:35 +0000 (07:06 +0000)]
Comment typo fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24009
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 30 Nov 1998 02:00:15 +0000 (02:00 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24005
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 30 Nov 1998 01:38:10 +0000 (01:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24004
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 30 Nov 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23996
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 30 Nov 1998 00:43:02 +0000 (00:43 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23995
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23990
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 29 Nov 1998 21:00:33 +0000 (21:00 +0000)]
fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23983
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 29 Nov 1998 18:27:12 +0000 (18:27 +0000)]
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23982
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 29 Nov 1998 15:30:30 +0000 (15:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23980
138bc75d-0d04-0410-961f-
82ee72b054a4
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>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23974
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 29 Nov 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23970
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 28 Nov 1998 15:19:46 +0000 (15:19 +0000)]
One more test commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23959
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 28 Nov 1998 14:25:14 +0000 (14:25 +0000)]
Test commit to new egcs-cvs list
Sat Nov 28 15:23:33 MST 1998
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23958
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 28 Nov 1998 14:23:56 +0000 (14:23 +0000)]
test commit Sat Nov 28 15:22:09 MST 1998
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23957
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Sat, 28 Nov 1998 14:15:43 +0000 (14:15 +0000)]
* test_summary (address): set to egcs-testresults mailing list
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23956
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 28 Nov 1998 10:00:05 +0000 (10:00 +0000)]
* configure.in (alpha*-*-netbsd): Fix typo.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23945
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 28 Nov 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23944
138bc75d-0d04-0410-961f-
82ee72b054a4
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 constructor, to avoid parse error at `>'
(__STL_EXPLICIT_FUNCTION_TMPL_ARGS): replace #if with #ifdef
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23937
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Fri, 27 Nov 1998 12:09:37 +0000 (12:09 +0000)]
* Makefile.in (HEADERS): Install bitset
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23936
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 27 Nov 1998 10:28:57 +0000 (10:28 +0000)]
* choose-temp.c: Always include libiberty.h. Avoid redundancies.
* cplus-dem.c: Likewise. Conform to libiberty.h.
* pexecute.c: Likewise.
* splay-tree.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23935
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 27 Nov 1998 10:25:17 +0000 (10:25 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23934
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 27 Nov 1998 10:13:07 +0000 (10:13 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23933
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 27 Nov 1998 10:10:02 +0000 (10:10 +0000)]
* g++spec.c: Don't prototype xmalloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23932
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 27 Nov 1998 10:09:17 +0000 (10:09 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23931
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 27 Nov 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23927
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 21:22:51 +0000 (21:22 +0000)]
* g++.old-deja/g++.pt/explicit76.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23917
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 20:58:48 +0000 (20:58 +0000)]
* g++.old-deja/g++.pt/friend38.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23916
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 20:57:42 +0000 (20:57 +0000)]
added crash test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23915
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 20:44:40 +0000 (20:44 +0000)]
* g++.old-deja/g++.ns/crash2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23914
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 20:39:54 +0000 (20:39 +0000)]
added crash test XFAIL
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23913
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 20:34:47 +0000 (20:34 +0000)]
* g++.old-deja/g++.pt/defarg8.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23912
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 20:03:21 +0000 (20:03 +0000)]
* g++.old-deja/g++.pt/instantiate6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23911
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 19:54:16 +0000 (19:54 +0000)]
* g++.old-deja/g++.pt/static6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23910
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 19:40:14 +0000 (19:40 +0000)]
* g++.old-deja/g++.pt/decl2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23909
138bc75d-0d04-0410-961f-
82ee72b054a4
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23908
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Thu, 26 Nov 1998 16:20:19 +0000 (16:20 +0000)]
* jcf-path.c (add_entry): recognize ".jar" too
* lang-specs.h: ditto
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23907
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 26 Nov 1998 12:55:04 +0000 (12:55 +0000)]
* 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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23904
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 26 Nov 1998 12:55:03 +0000 (12:55 +0000)]
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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23903
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 26 Nov 1998 05:41:29 +0000 (05:41 +0000)]
* cppfiles.c (simplify_pathname): Un-ANSI-fy function definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23898
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Thu, 26 Nov 1998 02:51:40 +0000 (02:51 +0000)]
* README.C4X: Updated URLs.
* config/c4x/c4x.c (c4x_address_conflict): Fix typo.
(valid_parallel_operands_5): Remove unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23897
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Thu, 26 Nov 1998 02:39:15 +0000 (02:39 +0000)]
* config/c4x/c4x.h (TARGET_DEFAULT): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23896
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Thu, 26 Nov 1998 01:48:34 +0000 (01:48 +0000)]
./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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23892
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 26 Nov 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23889
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 26 Nov 1998 00:21:27 +0000 (00:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23888
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 25 Nov 1998 23:34:42 +0000 (23:34 +0000)]
Bulk ns32k patch from Ian Dall. See ChangeLog for details.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23887
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Nov 1998 22:46:28 +0000 (22:46 +0000)]
* gcc.c (option_map): Recognize --output-class-directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23886
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 25 Nov 1998 21:32:27 +0000 (21:32 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23885
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 25 Nov 1998 21:19:21 +0000 (21:19 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23884
138bc75d-0d04-0410-961f-
82ee72b054a4
m.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.
* unroll.c (precondition_loop_p): Return loop_initial_value
for initial_value instead of loop_iteration_var.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23881
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 25 Nov 1998 20:21:49 +0000 (20:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23880
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 25 Nov 1998 19:59:39 +0000 (19:59 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23879
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 25 Nov 1998 19:45:42 +0000 (19:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23878
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 25 Nov 1998 18:29:12 +0000 (18:29 +0000)]
* g++.old-deja/g++.other/lookup5.C: New test. Not sure the
problem is actually related with name lookup, but so what? :-)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23877
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 25 Nov 1998 18:10:29 +0000 (18:10 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23876
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 25 Nov 1998 18:07:33 +0000 (18:07 +0000)]
* g++.old-deja/g++.pt/friend37.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23875
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 25 Nov 1998 18:06:07 +0000 (18:06 +0000)]
* emit-rtl.c (gen_lowpart_common): Remove earlier change.
* real.c (make_nan): Make SIGN arg actually specify the sign bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23874
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 25 Nov 1998 18:02:19 +0000 (18:02 +0000)]
* Makefile.in (splay-tree.o): Add config.h dependency.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23873
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 25 Nov 1998 17:14:35 +0000 (17:14 +0000)]
* config/c4x/c4x.md (addqi3): Emit addqi3_noclobber pattern
during reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23872
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 25 Nov 1998 17:10:57 +0000 (17:10 +0000)]
* java-tree.h (end_params_node): Declare global.
* decl.c (end_params_node): New global.
(init_decl_processing, start_java_method): Use end_params_node for
end of list of parameter types. Follows correct gcc conventions.
* expr.c (pop_argument_types, pop_arguments): Likewise.
* lang.c (put_decl_node): Likewise.
* typeck.c (various places): Likewise.
* class.y (various places): Likewise.
* parse.y (various places): Likewise.
* parse.y (java_complete_tree): Move CAN_COMPLETE_NORMALLY.
(build_jump_to_finally): Add missing CAN_COMPLETE_NORMALLY.
* class.c: Add #include flags.h, remove no-longer needed declaration.
* class.c (layout_class_method): Remove commented-out code, re-format.
Don't add vtable entry (or index) for private methods.
* expr.c (expand_invoke): A private method is implicitly final.
* class.c (make_class_data): If inlining or optimizing,
skip private methods.
* class.c (finish_class): New function. Calls existing methods,
but alls emits deferred inline functions.
* jcf-parse.c (parse_class_file): Call finish_class.
* parse.y (java_complete_expand_methods): Likewise.
* expr.c (build_java_binop): Explicit default, to silence -Wall.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23871
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 25 Nov 1998 17:10:49 +0000 (17:10 +0000)]
�
* java-tree.h (end_params_node): Declare global.
* decl.c (end_params_node): New global.
(init_decl_processing, start_java_method): Use end_params_node for
end of list of parameter types. Follows correct gcc conventions.
* expr.c (pop_argument_types, pop_arguments): Likewise.
* lang.c (put_decl_node): Likewise.
* typeck.c (various places): Likewise.
* class.y (various places): Likewise.
* parse.y (various places): Likewise.
* parse.y (java_complete_tree): Move CAN_COMPLETE_NORMALLY.
(build_jump_to_finally): Add missing CAN_COMPLETE_NORMALLY.
* class.c: Add #include flags.h, remove no-longer needed declaration.
* class.c (layout_class_method): Remove commented-out code, re-format.
Don't add vtable entry (or index) for private methods.
* expr.c (expand_invoke): A private method is implicitly final.
* class.c (make_class_data): If inlining or optimizing,
skip private methods.
* class.c (finish_class): New function. Calls existing methods,
but alls emits deferred inline functions.
* jcf-parse.c (parse_class_file): Call finish_class.
* parse.y (java_complete_expand_methods): Likewise.
* expr.c (build_java_binop): Explicit default, to silence -Wall.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23870
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 25 Nov 1998 17:10:46 +0000 (17:10 +0000)]
d
* java-tree.h (end_params_node): Declare global.
* decl.c (end_params_node): New global.
(init_decl_processing, start_java_method): Use end_params_node for
end of list of parameter types. Follows correct gcc conventions.
* expr.c (pop_argument_types, pop_arguments): Likewise.
* lang.c (put_decl_node): Likewise.
* typeck.c (various places): Likewise.
* class.y (various places): Likewise.
* parse.y (various places): Likewise.
* parse.y (java_complete_tree): Move CAN_COMPLETE_NORMALLY.
(build_jump_to_finally): Add missing CAN_COMPLETE_NORMALLY.
* class.c: Add #include flags.h, remove no-longer needed declaration.
* class.c (layout_class_method): Remove commented-out code, re-format.
Don't add vtable entry (or index) for private methods.
* expr.c (expand_invoke): A private method is implicitly final.
* class.c (make_class_data): If inlining or optimizing,
skip private methods.
* class.c (finish_class): New function. Calls existing methods,
but alls emits deferred inline functions.
* jcf-parse.c (parse_class_file): Call finish_class.
* parse.y (java_complete_expand_methods): Likewise.
* expr.c (build_java_binop): Explicit default, to silence -Wall.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23869
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 25 Nov 1998 17:10:45 +0000 (17:10 +0000)]
* java-tree.h (end_params_node): Declare global.
* decl.c (end_params_node): New global.
(init_decl_processing, start_java_method): Use end_params_node for
end of list of parameter types. Follows correct gcc conventions.
* expr.c (pop_argument_types, pop_arguments): Likewise.
* lang.c (put_decl_node): Likewise.
* typeck.c (various places): Likewise.
* class.y (various places): Likewise.
* parse.y (various places): Likewise.
* parse.y (java_complete_tree): Move CAN_COMPLETE_NORMALLY.
(build_jump_to_finally): Add missing CAN_COMPLETE_NORMALLY.
* class.c: Add #include flags.h, remove no-longer needed declaration.
* class.c (layout_class_method): Remove commented-out code, re-format.
Don't add vtable entry (or index) for private methods.
* expr.c (expand_invoke): A private method is implicitly final.
* class.c (make_class_data): If inlining or optimizing,
skip private methods.
* class.c (finish_class): New function. Calls existing methods,
but alls emits deferred inline functions.
* jcf-parse.c (parse_class_file): Call finish_class.
* parse.y (java_complete_expand_methods): Likewise.
* expr.c (build_java_binop): Explicit default, to silence -Wall.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23868
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Wed, 25 Nov 1998 15:18:46 +0000 (15:18 +0000)]
fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23867
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 25 Nov 1998 14:09:56 +0000 (14:09 +0000)]
* config/sh/lib1funcs.asm (___udivsi3_i4): Don't switch to sz == 1
unless FMOVD_WORKS is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23866
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 25 Nov 1998 12:59:24 +0000 (12:59 +0000)]
* test_summary (-p, prepend_logs): add these before the summary
(Compiler, Platform): print these just before configflags
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23864
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 25 Nov 1998 12:15:14 +0000 (12:15 +0000)]
* regclass.c (init_reg_sets): Move code that calculates tables
dependent on reg_class_contents from here...
(init_reg_sets_1): To here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23858
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Wed, 25 Nov 1998 11:56:54 +0000 (11:56 +0000)]
Wed Nov 25 14:54:46 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.h: Delete struct import_file. Add ihash element to
struct cpp_buffer. Delete dont_repeat_files and
import_hash_table elements from cpp_reader; change
all_include_files to a hash table. Delete all foobar_include
/ last_foobar_include elements from struct cpp_options; put
back four such: quote_include, bracket_include,
system_include, after_include. Redo struct file_name_list
completely. Add new structure type include_hash. Add
prototypes for merge_include_chains and include_hash. Change
prototypes for finclude, find_include_file, and
append_include_chain to match changes below.
* cppfiles.c (simplify_pathname, include_hash,
remap_filename, merge_include_chains): New functions.
(add_import, lookup_import, open_include_file): Removed.
(INO_T_EQ): Define this (copied from cccp.c).
(hack_vms_include_specification): Remove all calls and #if 0
out the definition. It was being called incorrectly and at
the wrong times. Until a VMSie can look at this, it's better
to not pretend to support it.
(append_include_chain): Change calling convention; now takes
only one directory at a time, and sets up the data structure
itself.
(redundant_include_p): Rewritten - this is now used for all
include redundancy, whether by #ifndef, #import, or #pragma
once. Looks up things in the include hash table.
(file_cleanup): Decrement pfile->system_include_depth here if
it's >0.
(find_include_file): Calling convention changed; now passes
around a struct include_hash instead of 3 separate parameters.
Guts ripped out and replaced with new include_hash mechanism.
(finclude): Calling convention changed as for
find_include_file. Error exits pulled out-of-line. Reformat.
(safe_read): Return a long, not an int.
(deps_output): Don't recurse.
* cpplib.c (is_system_include): Deleted.
(path_include): Fix up call to append_include_chain.
(do_include): Fix up calls to find_include_file and finclude.
Clean up dependency output a bit. Shorten obnoxiously lengthy
#import warning message. Don't decrement
pfile->system_include_depth here.
(do_pragma): Understand the include_hash structure. Reformat.
(do_endif): Correct handling of control macros. Understand
the include_hash.
(cpp_start_read): Fix up calls to finclude. Call
merge_include_chains.
(cpp_handle_option): Fix up calls to append_include_chain.
Understand the four partial include chains.
(cpp_finish): Add debugging code (#if 0-ed out) for the
include_hash.
(cpp_cleanup): Free the include_hash, not the import hash and
the all_include and dont_repeat lists which no longer exist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23857
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 25 Nov 1998 11:28:29 +0000 (11:28 +0000)]
* except.c (expand_throw): Use TYPE_PTR_P to check for pointers.
* decl.c (check_tag_decl): Do complain about null friend decl at
file scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23856
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 25 Nov 1998 10:31:24 +0000 (10:31 +0000)]
* toplev.c (no_new_pseudos): Define.
(rest_of_compilation): Set no_new_pseudos as needed.
* emit-rtl.c (gen_reg_rtx): Abort if we try to create a new pseudo
if no_new_pseudos is set.
* rtl.h (no_new_pseudos): Declare it.
* reload1.c (reload): Update comments.
* md.texi: Corresponding changes.
* reload1.c (reg_used_in_insn): Renamed from reg_used_by_pseudo.
(choose_reload_regs): Rename it here as well. When computing it,
also merge in used hardregs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23855
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Wed, 25 Nov 1998 10:05:05 +0000 (10:05 +0000)]
1998-11-25 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f (main): Avoid testing [f]statb
element, which fails on some systems.
* g77.f-torture/execute/labug1.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23854
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Wed, 25 Nov 1998 10:02:47 +0000 (10:02 +0000)]
(main): Avoid testing [f]statb
element, which fails on some systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23853
138bc75d-0d04-0410-961f-
82ee72b054a4