law [Tue, 19 Oct 1999 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30078
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 19 Oct 1999 07:26:59 +0000 (07:26 +0000)]
* fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30077
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Oct 1999 23:05:03 +0000 (23:05 +0000)]
* cse.c (invalidate_for_call): Do not remove memory references from
the table here. It's handled elsewhere.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30076
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 18 Oct 1999 22:57:07 +0000 (22:57 +0000)]
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): New
method.
(redirect): New static field.
* java/lang/ClassLoader.java (getSystemClassLoader): Now
native
(getVMClassLoader0): Removed.
* java/lang/natClassLoader.cc (getVMClassLoader0): Removed.
(redirect): Removed.
(getSystemClassLoader): Implemented.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30075
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Oct 1999 22:37:30 +0000 (22:37 +0000)]
* haifa-sched.c (add_dependence): Protect references to the
true dependency cache with #ifdef INSN_SCHEDULING.
(remove_dependence): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30074
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 18 Oct 1999 22:20:27 +0000 (22:20 +0000)]
* basic-block.h (set_block_num): Declare.
* flow.c (update_life_info): Don't call compute_bb_for_insn
or free_basic_block_vars.
* haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
(insn_orig_block): Remove.
(INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
(schedule_block): Keep BLOCK_NUM up-to-date.
(schedule_insns): Use compute_bb_for_insn.
* recog.c (split_all_insns): Likewise.
(peephole2_optimize): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30073
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Oct 1999 19:59:48 +0000 (19:59 +0000)]
* mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
to the cfg code that this is a return instruction.
* mn10300.md (return_internal): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30072
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Mon, 18 Oct 1999 16:49:22 +0000 (16:49 +0000)]
* config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
if the pic register is used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30071
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 18 Oct 1999 16:38:40 +0000 (16:38 +0000)]
* ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30070
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 18 Oct 1999 15:25:01 +0000 (15:25 +0000)]
* calloc.c: Add a public domain notice.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30069
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Oct 1999 08:40:20 +0000 (08:40 +0000)]
* c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
(finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
if that tests TREE_PERMANENT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30068
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Oct 1999 08:36:29 +0000 (08:36 +0000)]
* setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30067
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Oct 1999 07:55:17 +0000 (07:55 +0000)]
* POTFILES.in: Track files recently added/deleted/moved.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30066
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Oct 1999 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30063
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 18 Oct 1999 07:44:13 +0000 (07:44 +0000)]
* combine.c (get_last_value): If the last set of a register
is after subst_low_cuid, then we can not use it to determine
the register's last value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30062
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 18 Oct 1999 04:07:28 +0000 (04:07 +0000)]
* Makefile.in: Back out previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30061
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 23:08:36 +0000 (23:08 +0000)]
* pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30060
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 21:46:36 +0000 (21:46 +0000)]
Typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30059
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 21:27:56 +0000 (21:27 +0000)]
* haifa-sched.c (add_dependence): Only check/update the cache
if it exists.
(remove_dependence): Likewise.
(schedule_insns): Only create the true_dependency_cache if the
average number of instructions in a basic block is very large.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30058
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 17 Oct 1999 17:59:07 +0000 (17:59 +0000)]
* Makefile.in (ggc-common.o): Depend on genrtl.h.
(ggc-simple.o): Likewise.
(ggc-page.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30057
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 17 Oct 1999 17:40:12 +0000 (17:40 +0000)]
* dump.c (dequeue_and_dump): Handle CLEANUP_POINT_EXPR.
* ir.texi: Clean up documentation of RETURN_INIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30056
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 09:21:25 +0000 (09:21 +0000)]
* basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
Prototype for exported functions.
(pre_lcm, pre_rev_lcm): Remove prototypes.
* gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
(compute_available): Move to lcm.c, and change parameter order.
(one_classic_gcse_pass): Call compute_ae_kill with parameters.
(pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
(gcse_main): No longer call compute_preds_succs. Rebuild the
set table after reach pre pass.
(pre_insert_map, pre_delete_map, edge_list): New.
(alloc_pre_mem): Allocate edge vectors.
(free_pre_mem): Delete edge vectors.
(compute_pre_data): Call new edge based lcm routines.
(process_insert_insn): New function.
(insert_insn_end_bb): Use it.
(pre_edge_insert): New function.
(pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
needed.
(pre_insert_copies): Revamp using new edge based lcm outputs.
(pre_delete): Likewise.
(one_pre_gcse_pass): Insert & remove fake edges to the exit
block.
(compute_code_hoist_vbeinout): New new edge based routines.
* lcm.c: Remove all the old LCM functions. Replace with new ones
that work with the new cfg datastructures and work with edges
instead of blocks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30055
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 08:53:48 +0000 (08:53 +0000)]
* gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30054
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 08:19:37 +0000 (08:19 +0000)]
Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30053
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 07:45:06 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30052
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 06:47:27 +0000 (06:47 +0000)]
* reload.h (struct reload): Add new fields "mode" and "nregs".
* reload1.c: Change all occurrences of reload_mode and reload_nregs
to reference the "mode" and "nregs" field within struct reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30051
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 06:28:22 +0000 (06:28 +0000)]
* haifa-sched.c (true_dependency_cache): New.
(add_dependence): Use the true dependency cache to avoid expensive
walks down the LOG_LINKS dependency list. Add entries to the
cache as necessary.
(remove_dependence): Remove entries from the true dependency cache
as needed.
(schedule_insns): Allocate and initialize and free the true
dependency cache.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30050
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 17 Oct 1999 03:50:21 +0000 (03:50 +0000)]
* haifa-sched.c (schedule_insns): Do not remove inter-block
dependencies anymore.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30049
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 17 Oct 1999 03:11:50 +0000 (03:11 +0000)]
* java/lang/ClassLoader.java (getSystemResource): Use
getSystemClassLoader instead of ClassLoader.system.
(getSystemResourceAsStream): Ditto.
* java/lang/natClassLoader.cc (redirect): Make static and
remove #ifdef INTERPRETER so it is always defined.
(getVMClassLoader0): Remove #ifdef INTERPRETER so it always
returns a VMClassLoader.
* java/util/ResourceBundle.java (trySomeGetBundle): Create a
PropertyResourceBundle if a properties file is found before a
ResourceBundle class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30048
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 16 Oct 1999 18:22:29 +0000 (18:22 +0000)]
* i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
* i386/t-winnt: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30045
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Sat, 16 Oct 1999 15:52:04 +0000 (15:52 +0000)]
* Makefile.in (LANGUAGES): Omit "proto".
(clean): Remove stale comment about removing unprotoize.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30044
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 16 Oct 1999 15:32:00 +0000 (15:32 +0000)]
* protoize.c (safe_read, safe_write): Avoid the gcc extension of
using arithmetic on void pointers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30043
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 16 Oct 1999 08:54:07 +0000 (08:54 +0000)]
* haifa-sched.c (compute_block_forward_dependencies): Only check
for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30042
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 16 Oct 1999 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30041
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 16 Oct 1999 07:08:45 +0000 (07:08 +0000)]
* gcc.c-torture/execute/991016-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30040
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 16 Oct 1999 07:08:27 +0000 (07:08 +0000)]
* gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
(expr_equiv_p): Reject memories with different alias sets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30039
138bc75d-0d04-0410-961f-
82ee72b054a4
gkm [Sat, 16 Oct 1999 01:27:32 +0000 (01:27 +0000)]
* lex.c (lang_init_options): Set flag_bounds_check as "unspecified".
(lang_init): Set default for flag_bounds_check if still "unspecified".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30038
138bc75d-0d04-0410-961f-
82ee72b054a4
gkm [Sat, 16 Oct 1999 01:26:10 +0000 (01:26 +0000)]
* top.h (ffe_is_subscript_check_): Remove extern decl.
(ffe_is_subscript_check, ffe_set_is_subscript_check): Remove macros.
* top.c (ffe_is_subscript_check_): Remove global variable.
(ffe_decode_option): Remove "(no-)bounds-check" flag handling.
Set flag_bounds_check for "(no-)fortran-bounds-check".
* com.c
(ffecom_arrayref_): s/ffe_is_subscript_check ()/flag_bounds_check/
(ffecom_char_args_x_): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30037
138bc75d-0d04-0410-961f-
82ee72b054a4
gkm [Sat, 16 Oct 1999 01:25:52 +0000 (01:25 +0000)]
* java-tree.h (flag_bounds_check): Remove extern decl.
* lang.c (flag_bounds_check): Remove global variable.
(lang_f_options): Remove "bounds-check" entry.
(lang_init_options): Default flag_bounds_check to "on".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30036
138bc75d-0d04-0410-961f-
82ee72b054a4
gkm [Sat, 16 Oct 1999 01:25:01 +0000 (01:25 +0000)]
* flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
* toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
(f_options): Add "bounded-pointers" and "bounds-check" entries.
* c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
(lang_init): Set default for flag_bounds_check if still "unspecified".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30035
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 16 Oct 1999 00:43:59 +0000 (00:43 +0000)]
* config/c4x/c4x.md (HF mode patterns): Add missing modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30034
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 16 Oct 1999 00:39:15 +0000 (00:39 +0000)]
* config/c4x/c4x.md (movstrqi_small): Utilise parallel move
instructions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30033
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 16 Oct 1999 00:31:18 +0000 (00:31 +0000)]
Try again!?
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30032
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 16 Oct 1999 00:29:20 +0000 (00:29 +0000)]
* config/c4x/c4x.md (*db_noclobber,
*decrement_and_branch_until_zero_noclobber): New patterns and
associated splitters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30031
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 16 Oct 1999 00:15:44 +0000 (00:15 +0000)]
* config/c4x/c4x.md (parallel instruction patterns): Rework
constraints to keep reload happy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30030
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 16 Oct 1999 00:09:36 +0000 (00:09 +0000)]
* config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
*one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
*andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
Add new patterns and associated post-reload splitters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30029
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 15 Oct 1999 23:46:06 +0000 (23:46 +0000)]
* config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30028
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 15 Oct 1999 23:37:53 +0000 (23:37 +0000)]
* config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
if appropriate.
* config/c4x/c4x.md (rpts_top): New pattern and splitter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30027
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 15 Oct 1999 23:29:00 +0000 (23:29 +0000)]
* config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
memory mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30026
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 23:04:06 +0000 (23:04 +0000)]
* pa.c (move_operand): Rely on memory_address_p to determine the
validity of non-indexed memory addresses.
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
operand in DFmode and SFmode when generating PA2.0 code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30025
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 21:26:33 +0000 (21:26 +0000)]
* print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30024
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 20:51:10 +0000 (20:51 +0000)]
* mips.c (function_prologue): Fix argument types.
* mips.md (casesi): Use emit_jump_insn for casesi_internal.
(casesi_internal): Write to the scratch register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30023
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 15 Oct 1999 18:18:46 +0000 (18:18 +0000)]
1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
* cppexp.c (cpp_parse_escape): Make static. Change second arg
to U_CHAR **.
(parse_charconst): Delete unnecessary cast when calling
cpp_parse_escape.
(cpplib.h): Kill prototype of cpp_parse_escape.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30022
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 18:07:48 +0000 (18:07 +0000)]
Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
* unroll.c (unroll_loop): Cast return value of alloca.
* i370/i370.c: Include function.h and toplev.h.
(i370_label_scan): Remove c++ commented abort.
* i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
(ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
* i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
* i370/xm-mvs.h, i370/xm-oe.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30021
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 15 Oct 1999 16:53:41 +0000 (16:53 +0000)]
* gij.cc (main): Formatting fixes.
(_Jv_Compiler_Properties): Define.
* java/lang/natSystem.cc (_Jv_Environment_Properties): Don't
declare.
(init_properties): Set properites from _Jv_Compiler_Properties.
* include/java-props.h (_Jv_Compiler_Properties,
_Jv_Environment_Properties): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30020
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 15 Oct 1999 16:45:31 +0000 (16:45 +0000)]
* jvgenmain.c (usage): New function.
(main): Use it. Also, handle `-D' options.
* jvspec.c (lang_specific_driver): Recognize -D.
(jvgenmain_spec): Added `%{D*}' to jvgenmain invocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30019
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 15 Oct 1999 15:42:26 +0000 (15:42 +0000)]
* include/java-props.h: Added copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30018
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 09:04:53 +0000 (09:04 +0000)]
* config/t-freebsd: Do not override USER_H.
* ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30017
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 08:42:02 +0000 (08:42 +0000)]
* c-parse.in (component_decl): Support anonymous struct/union.
(%expect): Update.
* c-parse.y: Regenerate.
* c-parse.c: Likewise.
* objc/objc-parse.y: Likewise.
* objc/objc-parse.c: Likewise.
* c-decl.c (finish_struct): Don't sort the fields.
(field_decl_cmp): Delete unused function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30016
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 08:25:13 +0000 (08:25 +0000)]
* sparc.md (movsf_const_intreg): Revert last constraint change.
(movdf_const_intreg_sp32): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30015
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 08:19:37 +0000 (08:19 +0000)]
* cse.c: Include hashtab.h instead of splay-tree.h
(struct cse_reg_info): No longer use variant union. Add new
field "regno". All references changed to avoid union.
(cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
(free_cse_reg_info): Remove.
(hash_cse_reg_info, cse_reg_info_equal_p): New functions.
(get_cse_reg_info): Revamp to use expandable hash tables instead
of splay trees. Initialize new fields in cse_reg_info structure.
(new_basic_block): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30014
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 07:50:54 +0000 (07:50 +0000)]
* hashtab.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30013
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 07:50:25 +0000 (07:50 +0000)]
* Makefile.in (CFILES): Add hashtab.c
(REQUIRED_OFILES): Add hashtab.o
(hashtab.o): Add dependencies.
* hashtab.c: New file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30012
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 07:45:06 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30011
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 06:56:28 +0000 (06:56 +0000)]
* genrecog.c (message_with_line): Prototype.
(validate_pattern): Pass along the set for the dest, not a flag.
Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
Check for PC/CC0 as sources.
(nodes_identical): Check for children position match before
allowing the combination.
* rtl.c (read_rtx): Track line number across \\\n.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30010
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 06:51:05 +0000 (06:51 +0000)]
* mips.h (SPECIAL_MODE_PREDICATES): New.
* mips.md (*) Use nonimmediate_operand not general_operand for outputs.
(movdi+1, movsi+1): Add output reload constraint.
(casesi_internal): Likewise. Fix commentary.
(return_internal): Use pmode_register_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30009
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 06:38:02 +0000 (06:38 +0000)]
* 1750a.md (movstrqi): Add missing output reload constraint.
(call_value): Likewise.
* a29k.md (cpxxx patterns): Add missing match_operator mode.
(jmpfdec): Add missing inout reload constraint.
* elxsi.md (addsi patterns): Add missing output reload constraint.
(move from sp): Use @ alternates.
(call_value): No constraint on output.
* fr30.md (movsi_pop): Add missing output reload constraint.
(movsf_constant_store): Likewise.
(splits): Remove constraints.
(subsi3): Add missing mode.
* i370.md (cmpstrsi+1): Add missing output reload constraint.
(call_value): Likewise.
* i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
* m32r.h (PREDICATE_CODES): Add seth_add3_operand.
* m32r.md (movsicc_internal): Add output reload constraint.
(movstrsi_internal): Add inout reload constraints.
* m88k.h (reg_names): Don't declare.
(SPECIAL_MODE_PREDICATES): New.
* m88k.md (*): Use register_operand not reg_or_0_operand
on destinations.
* mn10200.h (PREDICATE_CODES): New.
* ns32k.md (ffs pattern): Add output reload constraint.
* pdp11.md (sob pattern): Add inout reload constraint.
* sh.md (splits): Remove constraints.
(indirect_jump_scratch, fpu_switch): Add output reload constraint.
* v850.md (pattern_is_ok_for_epilogue): Likewise.
* vax.md (jgequ pattern): Add inout reload constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30008
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Fri, 15 Oct 1999 06:07:41 +0000 (06:07 +0000)]
* libtool-version: Catch up by incrementing current.
* configure.host: Disable use of GCJ_PROPERTIES for mips-tx39.
* configure, include/config.h.in: Rebuilt.
* acconfig.h (DISABLE_GETENV_PROPERTIES): Undefine.
* configure.in: Added --disable-getenv-properties and new define
`DISABLE_GETENV_PROPERTIES'.
* prims.cc (PROCESS_GCJ_PROPERTIES): Define.
(next_property_key): New function.
(next_property_value): New function.
(process_gcj_properties): New function.
(JvRunMain): Call process_gcj_properties.
(_JvRunMain): Ditto.
* java/lang/natSystem.cc (init_properties): Set properties defined
in GCJ_PROPERTIES. Also add 1.2 style versioning properties.
* include/java-props.h: New file.
* java/lang/natSystem.cc (init_properties): Add new properties to
conform with Java Product Versioning Specification.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30007
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 06:06:56 +0000 (06:06 +0000)]
* configure.in (djgpp): Revert previous patch.
* configure: Rebuit.
* config/i386/djgpp.h: Revert previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30006
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 06:02:01 +0000 (06:02 +0000)]
* fixinc/inclhack.def: Restore patch lost during last merge of
"no_bogosity" branch.
* fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30005
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 06:00:29 +0000 (06:00 +0000)]
* fixincludes: Add a HPUX 11 fix for inttypes.h.
* fixinc/inclhack.def: Same.
* fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30004
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 05:57:07 +0000 (05:57 +0000)]
* pa.md (post_stw+1): Use pmode_register_operand.
(dcacheflush, icacheflush): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30003
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 05:52:38 +0000 (05:52 +0000)]
* alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
as the base of a PLUS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30002
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 05:46:35 +0000 (05:46 +0000)]
* fold-const.c (fold): Convert (or (not arg0) (not arg1))
to (not (and (arg0) (arg1))). Similary for and.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30001
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 15 Oct 1999 05:39:23 +0000 (05:39 +0000)]
* config/c4x/c4x.md: Define mode for remaining unspec operators.
* config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30000
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 05:15:10 +0000 (05:15 +0000)]
* i386.md (movstricthi_1): Allow r/r.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29999
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 04:50:09 +0000 (04:50 +0000)]
* fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
falltrought to assocate code.
Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
bits in common.
* combine.c (simplify_logical): Convert XOR to IOR if operands have
no bits in common; remove XOR to ROTATE conversion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29998
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 15 Oct 1999 04:42:15 +0000 (04:42 +0000)]
* config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29997
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 15 Oct 1999 04:32:37 +0000 (04:32 +0000)]
* config/c4x/c4x.c (dst_operand): New.
(PREDICATE_CODES): Update.
* config/c4x/c4x.h (dst_operand): Declare it.
* config/c4x/c4x.md: Define mode for each unspec usage.
(move patterns): Use dst_operand predicate instead of src_operand.
(movqi_update, movqf_update): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29996
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 01:52:29 +0000 (01:52 +0000)]
* recog.c (pmode_register_operand): New.
* recog.h: Declare it.
* genrecog.c (pred_codes): Likewise.
(special_mode_pred_table): Likewise.
(validate_pattern): Don't warn no mode for address_operand.
* print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
if the operand is not insn-like.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29995
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 15 Oct 1999 01:40:28 +0000 (01:40 +0000)]
* fold-const.c (fold): Handle more simplifications allowed by IEEE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29994
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 00:34:45 +0000 (00:34 +0000)]
* sparc.md (*): Use {nonimmediate,register}_operand as appropriate
instead of general_operand in a SET_DEST. Use const_double_operand
instead of an explicit test against CONST_DOUBLE.
(movsf_const_lo): Add missing register mode.
(goto_handler_and_restore): Add auxiliary test for Pmode.
(flush): Adjust to use address_operand.
(return_sf_no_fpu): Add missing output constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29993
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 15 Oct 1999 00:29:24 +0000 (00:29 +0000)]
* rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
for call return value.
(call_value_indirect_aix64, call_value_indirect_nt): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29992
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 15 Oct 1999 00:05:52 +0000 (00:05 +0000)]
* toplev.c (main): Only warn about options for other languages.
* collect2.c (main): Pass -w to sub-gcc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29991
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 23:31:25 +0000 (23:31 +0000)]
* flow.c (propagate_block): Use free_EXPR_LIST_list instead of
zapping mem_set_list.
(invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
(mark_set_1, mark_used_regs): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29990
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 23:28:50 +0000 (23:28 +0000)]
* flow.c (propagate_block): Add call-clobbered registers to
significant too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29989
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 14 Oct 1999 22:35:27 +0000 (22:35 +0000)]
typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29988
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 14 Oct 1999 22:22:32 +0000 (22:22 +0000)]
* toplev.c (main): Don't complain about options for other languages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29987
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 14 Oct 1999 21:46:16 +0000 (21:46 +0000)]
Add myself to list with general write privs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29986
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 14 Oct 1999 20:55:21 +0000 (20:55 +0000)]
* jvspec.c (jvgenmain_spec): Use `%umain', not just `%u'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29985
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 17:52:48 +0000 (17:52 +0000)]
* m68k.md (zero_extendsidi2): Add missing output reload constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29984
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 17:44:07 +0000 (17:44 +0000)]
Remove cvs conflict markers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29983
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Thu, 14 Oct 1999 17:39:30 +0000 (17:39 +0000)]
* execute/memcheck/memcheck.exp: Make sure a remote
host is equipped with driver.h and driver.o so it can actually
compile and run the tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29982
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 14 Oct 1999 17:13:57 +0000 (17:13 +0000)]
* jcf-dump.c (print_constant, disassemble_method): Don't call a
variadic function with a non-literal format string.
* parse-scan.y (report_main_declaration): Likewise.
* parse.h (ERROR_CAST_NEEDED_TO_INTEGRAL): Likewise.
* parse.y (read_import_dir, patch_assignment, patch_binop,
patch_array_ref): Likewise.
* typeck.c (build_java_array_type): Likewise.
* verify.c (verify_jvm_instructions): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29981
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Thu, 14 Oct 1999 16:41:27 +0000 (16:41 +0000)]
* invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
-Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
options. Also add a new item "C-only Warning Options" to the
option summary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29980
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Thu, 14 Oct 1999 13:38:01 +0000 (13:38 +0000)]
* libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
from multiple calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29979
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 11:59:00 +0000 (11:59 +0000)]
* i386.md (call value patterns): Move to the end of the file.
(prologue_set_got, prologue_get_pc): Use register_operand for op 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29978
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 14 Oct 1999 11:40:25 +0000 (11:40 +0000)]
* configure.in (djgpp configuration): Define extra_objects..
* configure: Rebuilt.
* config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
(DTORS_SECTION_ASM_OP): Define.
(INIT_SECTION_ASM_OP): Define.
(FINI_SECTION_ASM_OP): Define.
(DATA_SECTION_ASM_OP): Define.
(TEXT_SECTION_ASM_OP): Define.
(EH_FRAME_SECTION_ASM_OP): Define.
(LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
(STARTFILE_SPEC): Add crtbegin.o.
(ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
to here from LINK_COMMAND_SPEC.
(DO_GLOBAL_CTORS_BODY): Define.
(CRTSTUFF_USE_FINI_SECTION): Define
(HAS_INIT_SECTION): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29977
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 14 Oct 1999 11:21:14 +0000 (11:21 +0000)]
* pa.h (PREDICATE_CODES): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29976
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 14 Oct 1999 11:11:59 +0000 (11:11 +0000)]
* Makefile.in (all.cross): Depend on xcpp$(exeext).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29975
138bc75d-0d04-0410-961f-
82ee72b054a4