law [Thu, 14 Oct 1999 08:18:30 +0000 (08:18 +0000)]
* combine.c (simplify_logical): Recognize xor pattern that encodes
rotation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29965
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 14 Oct 1999 08:05:09 +0000 (08:05 +0000)]
* libU77/acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and
HAVE_TIMEZONE in acconfig.h.
* libU77/config.hin: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29964
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 14 Oct 1999 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29963
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 06:24:21 +0000 (06:24 +0000)]
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (expand_block_move): Use INTVAL, not XINT to access
alignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29962
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 04:47:48 +0000 (04:47 +0000)]
* ggc-page.c (MAP_FAILED): Provide default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29961
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 04:42:57 +0000 (04:42 +0000)]
* sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
* sparc.h (PREDICATE_CODES): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29960
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 04:20:55 +0000 (04:20 +0000)]
* alpha.c (some_ni_operand): New.
* alpha-protos.h: Declare it.
* alpha.h (PREDICATE_CODES): Update.
* alpha.md (sXaddq reload insns): Use some_ni_operand
for SET_DEST instead of some_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29959
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 04:07:03 +0000 (04:07 +0000)]
* genrecog.c (maybe_both_true_2): Don't compare modes of
two DT_pred tests.
(process_tree): Elide peephole2_insns. Invoke simplify_tests
after find_afterward.
(debug_decision_1): Dump next and afterward codes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29958
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 1999 03:43:49 +0000 (03:43 +0000)]
* rtl.c (dump_and_abort): Remove.
(fatal_with_file_and_line): New.
(fatal_expected_char): New.
(read_rtx_lineno, read_rtx_filename): New.
(read_skip_spaces): Track line number.
(read_name): Use fatal_with_file_and_line.
(read_rtx): Use fatal_expected_char. Track line number.
* rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
* print-rtl.c (print_rtx): Don't special case LABEL_REF argument
if it isn't a CODE_LABEL.
* genattr.c (main): Set read_rtx_filename.
* genattrtab.c (main): Likewise.
* gencodes.c (main): Likewise.
* genconfig.c (main): Likewise.
* genemit.c (main): Likewise.
* genextract.c (main): Likewise.
* genflags.c (main): Likewise.
* genopinit.c (main): Likewise.
* genoutput.c (main): Likewise.
* genpeep.c (main): Likewise.
* genrecog.c (decision_test.u.insn): Add `lineno'.
(pattern_lineno, error_count): New variables.
(message_with_line): New.
(add_to_sequence): Break out checking code to ...
(validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
(merge_insn): Use message_with_line.
(make_insn_sequence): Use validate_pattern. Record insn lineno.
(main): Set read_rtx_filename, pattern_lineno. Exit early on error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29957
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 14 Oct 1999 02:18:10 +0000 (02:18 +0000)]
gcc toplevel:
* expr.c (store_constructor): Clear union if constructor is empty.
cp:
* typeck2.c (process_init_constructor): Handle empty constructors.
testsuite:
* g++.old-deja/g++.other/union2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29956
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 13 Oct 1999 23:19:33 +0000 (23:19 +0000)]
Fix thinko in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29955
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 13 Oct 1999 22:40:42 +0000 (22:40 +0000)]
* decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.
* pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size
array error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29954
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 13 Oct 1999 22:23:51 +0000 (22:23 +0000)]
Fix errors from Jan 19 change, found by comparing Cygnus sources with FSF
sources.
* config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
Add !endian checks. Change %{...} to %(...).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29953
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 13 Oct 1999 20:33:42 +0000 (20:33 +0000)]
* i386.md (*addsi3_cc): Renamed from addcsi3.
(*addsi3_carry): Renamed from addxsi3.
(*subsi3_cc): Renamed from subcsi3.
(*subsi3_carry): Renamed from subxsi3.
(*xorqi_cc_1): Renamed from xorcqi_1.
(xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
* i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29952
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 13 Oct 1999 20:12:08 +0000 (20:12 +0000)]
* Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
(ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29951
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Wed, 13 Oct 1999 17:28:29 +0000 (17:28 +0000)]
* regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
climb up the chain of insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29949
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 13 Oct 1999 17:22:40 +0000 (17:22 +0000)]
* genrecog.c (write_subroutine): Careful for null trees.
(process_tree): Don't elide empty functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29948
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 13 Oct 1999 17:20:53 +0000 (17:20 +0000)]
Simplified GC interface and other goodies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29947
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 13 Oct 1999 17:09:18 +0000 (17:09 +0000)]
Simplified GC interface and other goodies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29946
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 13 Oct 1999 16:13:25 +0000 (16:13 +0000)]
* decl.c (make_rtl_for_local_static): Don't create register RTL
for addressable constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29945
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 13 Oct 1999 15:16:12 +0000 (15:16 +0000)]
(Fixing malformed ChangeLog entries...)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29944
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 13 Oct 1999 08:57:25 +0000 (08:57 +0000)]
* g++.old-deja/g++.other/vaarg2.C: New test.
* g++.old-deja/g++.other/vaarg3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29943
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 13 Oct 1999 08:49:54 +0000 (08:49 +0000)]
* cp-tree.h (build_x_va_arg): Prototype new function.
* call.c (build_x_va_arg): Define it.
* parse.y (unary_expr): Call build_x_va_arg.
* cp-tree.h (convert_type_from_ellipsis): Prototype new function.
* call.c (convert_type_from_ellipsis): Define it.
* decl.c (init_decl_processing): Set lang_type_promotes_to.
* tree.c (lvalue_p_1): Accept VA_ARG_EXPR with aggregates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29942
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 13 Oct 1999 07:52:43 +0000 (07:52 +0000)]
* configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
float_format and thread_file definitions.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29940
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 13 Oct 1999 07:45:10 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29939
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Wed, 13 Oct 1999 07:27:10 +0000 (07:27 +0000)]
* extend.texi (Function Names): Document types of function names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29938
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 13 Oct 1999 07:18:09 +0000 (07:18 +0000)]
* basename.c (DIR_SEPARATOR): New macro.
(DIR_SEPARATOR_2): Likewise.
(HAVE_DOS_BASED_FILESYSTEM): Likewise.
(IS_DIR_SEPARATOR): Likewise.
(main): Handle MSDOS style pathname.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29937
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 13 Oct 1999 06:48:26 +0000 (06:48 +0000)]
reload_out[i]->rld[i].out.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29936
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 13 Oct 1999 06:47:15 +0000 (06:47 +0000)]
* reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
an earlyclobbered output conflict with RELOAD_INPUT reloads.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29935
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 13 Oct 1999 05:54:18 +0000 (05:54 +0000)]
I get blanket write
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29934
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 13 Oct 1999 05:37:30 +0000 (05:37 +0000)]
Tue Oct 12 22:28:10 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* (RELOCATION_VALUE_1): Fixed integer value from 0 to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29933
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 13 Oct 1999 02:52:08 +0000 (02:52 +0000)]
Tue Sep 14 16:24:19 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-write.c: (RELOCATION_VALUE_0): New macro.
(RELOCATION_VALUE_1): Likewise.
(emit_iinc, emit_reloc, push_constant1, push_constant2,
push_in_const, push_long_const): Prototyped.
(push_constant1): Argument `index' is of type HOST_WIDE_INT.
(push_constant2): Likewise.
(push_int_const): Cast find_constant1's integer arguments to `jword'.
(find_constant_wide): Cast find_constant2's integer arguments to
`jword'.
(find_constant_index): Cast find_constant2's and find_constant2's
integer arguments to `jword'.
(emit_pop): Argument `value' is of type HOST_WIDE_INT.
(emit_switch_reloc): Use RELOCATION_VALUE_0.
(emit_if): Use RELOCATION_VALUE_1.
(emit_goto): Likewise.
(emit_jsr): Likewise.
(generate_bytecode_insns): Use RELOCATION_VALUE_0. Cast second
argument to push_long_const to HOST_WIDE_INT.
(This is a forgotten patch.)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29932
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 13 Oct 1999 00:00:35 +0000 (00:00 +0000)]
* configure: Rebuilt.
* configure.in: Fixed test for --disable-java-net.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29931
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Tue, 12 Oct 1999 22:31:26 +0000 (22:31 +0000)]
* sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29930
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Tue, 12 Oct 1999 22:23:37 +0000 (22:23 +0000)]
* sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29929
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 12 Oct 1999 21:13:13 +0000 (21:13 +0000)]
* collect2.c (main): Do prelimnary link on AIX if rflag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29927
138bc75d-0d04-0410-961f-
82ee72b054a4
gkm [Tue, 12 Oct 1999 19:20:45 +0000 (19:20 +0000)]
Add myself
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29926
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 12 Oct 1999 16:47:08 +0000 (16:47 +0000)]
* config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
__CTOR_LIST__ in opposite order, which is the correct order for sorted
constructors.
(__do_global_dtors): similarly for __DTOR_LIST__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29925
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Tue, 12 Oct 1999 16:02:39 +0000 (16:02 +0000)]
merging from no_bogosity
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29924
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Tue, 12 Oct 1999 15:57:47 +0000 (15:57 +0000)]
Protect the definitions of the t_bool enum
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29923
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 12 Oct 1999 15:28:17 +0000 (15:28 +0000)]
* config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
FPUL_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29921
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Tue, 12 Oct 1999 15:27:12 +0000 (15:27 +0000)]
move
19990905-1.f into noncompile/ from compile/
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29920
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Tue, 12 Oct 1999 14:44:55 +0000 (14:44 +0000)]
Merge from no_bogosity
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29919
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Tue, 12 Oct 1999 14:44:18 +0000 (14:44 +0000)]
Merge from no_bogosity
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29918
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 12 Oct 1999 08:39:35 +0000 (08:39 +0000)]
* libU77/aclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not
LIBU77_HAVE_STRUCT_TIMEZONE.
* libU77/configure.in: Use LIBU77_GETTIMEOFDAY, not
LIBU77_HAVE_STRUCT_TIMEZONE. Don't check for gettimeofday
separately.
* libU77/datetime_.c (G77_date_and_time_0): Use
GETTIMEOFDAY_ONE_ARGUMENT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29917
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 12 Oct 1999 07:45:06 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29916
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 12 Oct 1999 03:28:42 +0000 (03:28 +0000)]
Make fatal_insn calls in md file work.
* genoutput.c: Include toplev.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29908
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 12 Oct 1999 02:04:13 +0000 (02:04 +0000)]
ChangeLog entry for last sparc*-*-elf constructor change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29907
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 12 Oct 1999 02:03:39 +0000 (02:03 +0000)]
Fix sparc*-*-elf constructor problems; from Jason Merrill via Jonathan Larmour.
* config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
Undef.
* configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29906
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 12 Oct 1999 01:15:02 +0000 (01:15 +0000)]
* class.c (fixed_type_or_null): Always set *nonnull.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29905
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 11 Oct 1999 23:22:41 +0000 (23:22 +0000)]
* gcse.c (delete_null_pointer_checks): Returns void.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29904
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 11 Oct 1999 19:35:32 +0000 (19:35 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29903
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 11 Oct 1999 18:42:36 +0000 (18:42 +0000)]
Bring copy_insn_1 and copy_rtx in sync and simplify them
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29902
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 11 Oct 1999 08:32:10 +0000 (08:32 +0000)]
* cplus-dem.c (do_type): Handle pointer to member types whose
enclosing classes have namespace scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29901
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Mon, 11 Oct 1999 07:07:39 +0000 (07:07 +0000)]
* newcvsroot: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29900
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Mon, 11 Oct 1999 07:01:38 +0000 (07:01 +0000)]
New script to replace CVS/Root and CVS/Repository
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29899
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 11 Oct 1999 03:35:14 +0000 (03:35 +0000)]
* config/mips/mips.c (mips_build_va_list): Correct
TREE_CHAIN setting when hard-float.
(mips_va_start): Use corrected setting.
(mips_va_arg): Likewise. Also pass a tree to build of
POSTINCREMENT_EXPR rather than a naked 'int'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29898
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 11 Oct 1999 02:11:21 +0000 (02:11 +0000)]
* ggc.h (ggc_push_context): Fix comment.
(ggc_pop_context): Likewise.
(mark_string_if_gcable): Likewise.
* ggc-common.c (ggc_mark_rtx_children): Use
ggc_mark_string_if_gcable.
* ggc-page.c (ggc_lookup_page_table): New function.
(ggc_allocated_p): Likewise.
(mark_obj): Fix formatting.
(ggc_mark_string_if_gcable): New function.
* ggc-simple.c (ggc_allocated_strings): New variable.
(ggc_strings_used): Likewise.
(ggc_compare_addresses): New function.
(ggc_pop_context): Pop the `any' memory too.
(ggc_mark_string_if_gcable): New function.
(ggc_collect): Initialize and tear down ggc_allocated_strings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29897
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 11 Oct 1999 00:39:30 +0000 (00:39 +0000)]
* rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
(scc patterns): Disable most SImode variants if TARGET_POWERPC64.
* rs6000.c (expand_block_move): Match movstrsi_?reg register
changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29895
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Oct 1999 23:45:27 +0000 (23:45 +0000)]
* haifa-sched.c (sched_reg_n_calls_crossed): Delete.
(sched_reg_live_length, sched_reg_basic_block): Delete.
(current_block_num, bb_live_regs, old_live_regs): Delete.
(dead_notes, struct sometimes): Delete.
(sched_note_set, birthing_insn_p): Delete.
(adjust_priority): Gut useless reg lifetime code.
(create_reg_dead_note, attach_deaths): Delete.
(attach_deaths_insn, new_sometimes_live): Delete.
(finish_sometimes_live): Delete.
(find_pre_sched_live, find_post_sched_live): Delete.
(update_reg_usage): Delete.
(find_insn_reg_weight): New, from corpse of find_pre_sched_live.
(schedule_insns): Delete reg lifetime code.
(sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
(unlink_other_notes): Adjust REG_NOTE commentary.
(reemit_notes): Use REG_SAVE_NOTE.
(schedule_block): Likewise.
(schedule_region): Allocate bitmap of blocks in region. Use
count_or_remove_death_notes. Use update_life_info.
* rtl.h (REG_SAVE_NOTE): New.
* rtl.c (reg_note_name): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29894
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Oct 1999 23:34:17 +0000 (23:34 +0000)]
* combine.c (refresh_blocks, need_refresh): New.
(combine_instructions): Allocate refresh_blocks. Invoke
update_life_info if needed.
(distribute_notes): Mark refresh_blocks instead of installing
USE insns.
* flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
* basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
* Makefile.in (recog.o): Depend on basic-block.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29893
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 10 Oct 1999 19:23:38 +0000 (19:23 +0000)]
checked in wrong version
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29892
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Oct 1999 19:04:29 +0000 (19:04 +0000)]
* genrecog.c (add_to_sequence): Thinko last change: delete
shadowing allow_const_int variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29891
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 10 Oct 1999 13:02:41 +0000 (13:02 +0000)]
include:
* ansidecl.h (HAVE_GCC_VERSION): New macro. Use instead of
explicitly testing __GNUC__ and __GNUC_MINOR__.
(ATTRIBUTE_PRINTF): Use `__format__', not `format'.
gcc:
* cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__.
* gansidecl.h: Likewise.
* rtl.c: Likewise.
* rtl.h: Likewise.
* toplev.h: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* varray.c: Likewise.
* varray.h: Likewise.
cp:
* cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__.
f:
* proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__. Don't define BUILT_WITH_270.
Define macro UNUSED in terms of ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29890
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Sun, 10 Oct 1999 12:06:33 +0000 (12:06 +0000)]
Fix a warning in copy_insn_1
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29889
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Sun, 10 Oct 1999 11:52:53 +0000 (11:52 +0000)]
Fix docs for ADDRESS rtx
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29888
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Sun, 10 Oct 1999 11:37:46 +0000 (11:37 +0000)]
Don't put things between tablejumps and jump tables in loop.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29887
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Oct 1999 09:46:11 +0000 (09:46 +0000)]
Lost debug_decision_list from genrecog changelog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29886
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Oct 1999 09:43:26 +0000 (09:43 +0000)]
* genrecog.c (add_to_sequence): Move allow_const_int test outside
known predicate block; default allow_const_int true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29885
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 10 Oct 1999 07:44:13 +0000 (07:44 +0000)]
* i386.h (CC1_SPEC): Typo -- use cc1_cpu.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29884
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 10 Oct 1999 07:27:40 +0000 (07:27 +0000)]
* config.table: Provide a backup shell for executing move-if-change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29883
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 10 Oct 1999 05:30:28 +0000 (05:30 +0000)]
* gcse.c (gcse_main): Avoid global optimizations if we have a
large number of basic blocks and the ratio of edges to blocks
is high.
(delete_null_pointer_checks): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29882
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 10 Oct 1999 05:17:41 +0000 (05:17 +0000)]
* c-common.c (check_format_info): Warn if format string isn't a
string literal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29881
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 10 Oct 1999 05:06:54 +0000 (05:06 +0000)]
* configure.in (arm*-*-*): Don't let autoconf remove brackets
* configure: regenerate
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29880
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 9 Oct 1999 21:06:03 +0000 (21:06 +0000)]
* cp-tree.h (make_rtl_for_local_static): New function.
* decl.c (make_rtl_for_nonlocal_decl): Move code to create RTL for
local statics ...
(make_rtl_for_local_static): Here.
* semantics.c (expand_stmt): Use make_rtl_for_local_static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29879
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 9 Oct 1999 20:18:48 +0000 (20:18 +0000)]
* alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
(peepholes): Re-enable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29878
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 9 Oct 1999 19:47:18 +0000 (19:47 +0000)]
* Makefile.in (flow.o): Depend on TREE_H.
* basic-block.h (REG_SET_EQUAL_P): New.
(XOR_REG_SET): New.
(n_edges): Declare.
(free_regset_vector): Remove declaration.
(flow_delete_insn_chain): Declare.
(enum update_life_extent): New.
(update_life_info, count_or_remove_death_notes): Declare.
* combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
Verify register live at bb->global_live_at_start before adding USE.
* flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
(CLEAN_ALLOCA): New.
(n_edges): New.
(PROP_*): New flags.
(find_basic_blocks_1): Use alloc_EXPR_LIST.
(clear_edges): Zero n_edges.
(make_edge): Increment n_edges.
(split_edge): Don't allocate bb->local_set. Increment n_edges.
(flow_delete_insn_chain): Export.
(delete_block): Decrement n_edges.
(merge_blocks_nomove): Likewise.
(life_analysis): Give life_analysis_1 PROP flags.
(verify_wide_reg_1, verify_wide_reg): New.
(verify_local_live_at_start): New.
(update_life_info): Rewrite to call into propogate_block.
(mark_reg): New.
(mark_regs_live_at_end): After reload, if epilogue as rtl,
always mark stack pointer. Conditionally mark PIC register.
After reload, mark call-saved registers, return regsiters.
(life_analysis_1): Accept PROP flags not remove_dead_code.
Call mark_regs_live_at_end before zeroing regs_ever_live.
Use calculate_global_regs_live. Copy global_live_at_end before
calling final propagate_block. Zero reg_next_use on exit.
(calculate_global_regs_live): New.
(allocate_bb_life_data): Don't allocate bb->local_set.
(init_regset_vector, free_regset_vector): Remove.
(propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
Test flags before every operation. Warn if prologue/epilogue insn
would have been deleted.
(mark_set_regs, mark_set_1): Accept and use FLAGS.
Use alloc_EXPR_LIST.
(mark_used_regs): Accept and use FLAGS, not FINAL.
Remove special handling for RETURN.
(try_pre_increment): Use alloc_EXPR_LIST.
(dump_flow_info): Dump n_edges.
(unlink_insn_chain, split_hard_reg_notes): Remove.
(maybe_add_dead_note, maybe_add_dead_note_use): Remove.
(find_insn_with_note, new_insn_dead_notes): Remove.
(update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
(maybe_remove_dead_notes, prepend_reg_notes): Remove.
(replace_insns): Remove.
(count_or_remove_death_notes): New.
(verify_flow_info): Abort on error after all checks.
(remove_edge): Decrement n_edges.
(remove_fake_edges): Tweek format.
* haifa-sched.c (schedule_insns): Use split_all_insns.
* output.h (update_life_info): Remove declaration.
* recog.c (split_all_insns): From the corpse of split_block_insns,
do the whole function block by block. Use update_life_info.
(recog_last_allowed_insn): New.
(recog_next_insn): Mind it.
(peephole2_optimize): Set it. Walk backwards through blocks.
Use update_life_info.
* rtl.h (update_flow_info, replace_insns): Remove declarations.
(split_all_insns): Declare.
* toplev.c (rest_of_compilation): Thread prologue before flow2.
Use split_all_insns.
* i386.md (or -1 peep2s): Disable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29877
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 9 Oct 1999 19:07:33 +0000 (19:07 +0000)]
Test commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29876
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 9 Oct 1999 19:03:29 +0000 (19:03 +0000)]
* mips.c (mips_va_arg) [EABI]: Return addr_rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29875
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Fri, 8 Oct 1999 21:54:12 +0000 (21:54 +0000)]
* config/mips/mips.md (movstrsi+[123]) : Combine these into
a single pattern. Scrap the 'd' versions as unnecessary.
* config/mips/mips.md (tablejump_internal3,tablejump_mips161,
tablejump_mips162,tablejump_internal4): The operands to a
label_ref must be VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29874
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 8 Oct 1999 20:16:42 +0000 (20:16 +0000)]
* configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29873
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 8 Oct 1999 18:59:27 +0000 (18:59 +0000)]
* lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
cache every function if ggc_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29872
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Fri, 8 Oct 1999 18:00:01 +0000 (18:00 +0000)]
New testcase
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29871
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Fri, 8 Oct 1999 17:39:10 +0000 (17:39 +0000)]
Add functions copy_insn/copy_insn_1; use them in jump.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29870
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 8 Oct 1999 17:10:19 +0000 (17:10 +0000)]
* Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
* alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
arguments to `current_file_function_operand'.
* genrecog.c: Include hard-reg-set.h and resource.h in the
generated output file.
* real.c: Include tm_p.h.
cp:
* method.c: Include tm_p.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29869
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Fri, 8 Oct 1999 17:03:57 +0000 (17:03 +0000)]
Fix bad constraints in prologue_allocate_stack in i386.md
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29868
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 8 Oct 1999 07:46:23 +0000 (07:46 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29867
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 8 Oct 1999 06:07:50 +0000 (06:07 +0000)]
* rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
before the fctiwz insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29866
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 8 Oct 1999 05:50:44 +0000 (05:50 +0000)]
* cp-tree.h (cp_make_lake_type): Renamed from make_lang_type.
* lex.c (cp_make_lake_type): Likewise.
* tree.c (init_tree): Init make_lang_type_fn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29865
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 8 Oct 1999 05:48:29 +0000 (05:48 +0000)]
* tree.c (make_lang_type_fn): New funtion pointer.
(make_lang_type): Call it.
* tree.h (make_lang_type): Declare.
(make_lang_type_fn): Likewise.
* rs6000.c (rs6000_build_va_list): Use make_lang_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29864
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 8 Oct 1999 05:42:36 +0000 (05:42 +0000)]
* pt.c (tsubst_expr): Set DECL_TEMPLATE_INSTANTIATED for a catch
paramter.
* semantics.c (expand_stmt): Don't pretend to have asmspecs for
local statics if we don't really have them.
* ir.texi: Improve documentation for STMT_EXPR. Describe
CLEANUP_POINT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29863
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 8 Oct 1999 05:35:02 +0000 (05:35 +0000)]
Fix test case
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29862
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 8 Oct 1999 03:31:43 +0000 (03:31 +0000)]
Moved ChangeLog entry for a recent change to gcc/config/rs6000 to
its proper place in gcc/ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29861
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 8 Oct 1999 00:10:09 +0000 (00:10 +0000)]
* expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
* c-decl.c (finish_struct): Use simpler method of
removing elements of a singly-linked list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29860
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 8 Oct 1999 00:08:23 +0000 (00:08 +0000)]
* class.c (build_vtable_entry_ref): Use finish_asm_stmt.
* class.c (finish_struct_1): Use simpler method of
removing elements of a singly-linked list which doesn't
lose for classes without data members.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29859
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 7 Oct 1999 19:25:54 +0000 (19:25 +0000)]
Comment out peepholes that generate buggy code
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29858
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 7 Oct 1999 19:02:36 +0000 (19:02 +0000)]
* genrecog.c (add_to_sequence): Disable mode check for
wildcard matches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29857
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Thu, 7 Oct 1999 18:28:15 +0000 (18:28 +0000)]
Initialize empty_string in ggc-simple.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29856
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 7 Oct 1999 16:41:48 +0000 (16:41 +0000)]
* friend.c (make_friend_class): Robustify.
* semantics.c (finish_object_call_expr): Reject calls to template
types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29855
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Thu, 7 Oct 1999 13:26:01 +0000 (13:26 +0000)]
During class file generation, generate_classfile occasionally writes
out a bunch of data and then skips backwards to fill in blanks. When
configured with --enable-checking, this patching up will often trip
the checking code. This change introduces UNSAFE_PUTx macros which
never use CHECK_PUT. These should only be used in cases we know
CHECK_PUT will fail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29854
138bc75d-0d04-0410-961f-
82ee72b054a4