danglin [Fri, 31 May 2002 03:30:42 +0000 (03:30 +0000)]
* pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54084
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 31 May 2002 03:07:21 +0000 (03:07 +0000)]
* Makefile.in (WARN_CFLAGS): New.
(FLAGS_TO_PASS): Add WARN_CFLAGS.
* libF77/Makefile.in (ALL_CFLAGS): Likewise.
* libI77/Makefile.in (ALL_CFLAGS): Likewise.
* libU77/Makefile.in (ALL_CFLAGS): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54083
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 31 May 2002 02:51:23 +0000 (02:51 +0000)]
* config.gcc (ns32k-*-netbsd*): Set tm_file to
"${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
* config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
netbsd.h, or netbsd-aout.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54082
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 31 May 2002 02:38:38 +0000 (02:38 +0000)]
* longlong.h (count_trailing_zeros): Add missing \, and clean up
whitespace in __ns32000__ case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54081
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 31 May 2002 02:21:31 +0000 (02:21 +0000)]
2002-05-31 Aldy Hernandez <aldyh@redhat.com>
* expr.c (expand_expr): Output partially zeroed out vectors with
output_constant_def.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54080
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 31 May 2002 01:31:26 +0000 (01:31 +0000)]
* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54079
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 May 2002 23:08:27 +0000 (23:08 +0000)]
PR optimization/6822
* config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
to unsigned int for op1 comparisons. Use gen_int_mode.
* gcc.c-torture/compile/
20020530-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54076
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 May 2002 21:33:32 +0000 (21:33 +0000)]
* expmed.c (const_mult_add_overflow_p): New.
* expr.h: Declare it.
* loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
Don't eliminate the biv if the giv has a constant multiplier and
the rhs argument of the comparison does satisfy the predicate.
Use expand_mult_add to compute the replacement constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54075
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 May 2002 21:28:17 +0000 (21:28 +0000)]
* c-common.c (c_common_attribute_table): Add "may_alias" entry.
(c_common_get_alias_set): Handle it.
* doc/extend.texi: Document it.
* gcc.c-torture/execute/mayalias-1.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54074
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 May 2002 21:01:20 +0000 (21:01 +0000)]
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* toplev.c (process_options): Don't check it.
* doc/tm.texi: Don't document it.
* config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
(TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
frame pointer optimization if current_function_profile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54072
138bc75d-0d04-0410-961f-
82ee72b054a4
espie [Thu, 30 May 2002 21:00:28 +0000 (21:00 +0000)]
2002-05-30 Marc Espie <espie@openbsd.org>
* configure.in: Always check for sys/types.h
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54071
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 30 May 2002 20:55:11 +0000 (20:55 +0000)]
* langhooks.c: Fix formatting.
* langhooks.h: Likewise.
* lcm.c: Likewise.
* libgcc2.c: Likewise.
* lists.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54070
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 30 May 2002 20:46:53 +0000 (20:46 +0000)]
2002-05-30 H.J. Lu (hjl@gnu.org)
* libI77/open.c (_XOPEN_SOURCE): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54069
138bc75d-0d04-0410-961f-
82ee72b054a4
espie [Thu, 30 May 2002 20:35:58 +0000 (20:35 +0000)]
2002-05-30 Marc Espie <espie@openbsd.org>
* config.gcc (sparc64-*-openbsd*): New.
* config/sparc/openbsd1-64.h: New.
* config/sparc/openbsd64.h: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54066
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 May 2002 20:20:28 +0000 (20:20 +0000)]
* flow.c (propagate_one_insn): Revise yesterday's patch. Delete
a dead insn with a REG_RETVAL note when the entire libcall is not
dead and remove the associated REG_LIBCALL note at the same time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54065
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 30 May 2002 18:58:31 +0000 (18:58 +0000)]
* lcm.c (output.h): #include.
(compute_earliest): Remove hack to treat renumbered EXIT_BLOCK
as an ordinary block.
(optimize_mode_switching): Don't pretend that the exit block is
an ordinary block, or handle sucessors of entry block specially.
Instead, split edges from entry block and to exit block, and
put a computing definition on the thus gained post-entry-block,
and a need on the pre-exit-block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54064
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 30 May 2002 18:39:02 +0000 (18:39 +0000)]
* ada.h: Add MI guard macro.
(SUBTYPE): Define constants with an anonymous enum, not static
const variables.
(IN): Cast constants to appropriate type before use.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54063
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 30 May 2002 18:28:56 +0000 (18:28 +0000)]
* gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
* rtl.texi: Document 'B'
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54062
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 30 May 2002 17:38:11 +0000 (17:38 +0000)]
Fix omission in log for earlier change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54061
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Thu, 30 May 2002 17:14:24 +0000 (17:14 +0000)]
* config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
at run-time.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54059
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 30 May 2002 16:15:25 +0000 (16:15 +0000)]
* pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54058
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Thu, 30 May 2002 13:35:23 +0000 (13:35 +0000)]
* config/avr/avr.c (avr_mcu_types): Fix typo in previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54057
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 30 May 2002 12:14:33 +0000 (12:14 +0000)]
fix typo in last commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54055
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 30 May 2002 12:07:10 +0000 (12:07 +0000)]
2002-05-30 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
const0_rtx instead of NULL_RTX when in error.
(altivec_expand_abs_builtin): Same.
(rs6000_expand_binop_builtin): Same.
(altivec_expand_predicate_builtin): Same.
(altivec_expand_stv_builtin): Same.
(rs6000_expand_ternop_builtin): Same.
(altivec_expand_builtin): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54054
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Thu, 30 May 2002 10:23:30 +0000 (10:23 +0000)]
2002-05-29 David S. Miller <davem@redhat.com>
* rtl.h (clear_emit_caches): Delete.
* integrate.c (output_inline_function): Don't call it.
* emit-rtl.c (restore_emit_status, init_emit): Likewise.
(clear_emit_caches): Delete definition.
(SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54053
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 30 May 2002 07:18:19 +0000 (07:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54047
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 30 May 2002 06:48:12 +0000 (06:48 +0000)]
* config/mmix/mmix.c: Include real.h.
(mmix_constant_address_p): Remove redundant test before switch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54042
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Thu, 30 May 2002 02:53:32 +0000 (02:53 +0000)]
* configure.in (vax-*-netbsd*): Don't build gas for this
platform.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54040
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 30 May 2002 02:53:13 +0000 (02:53 +0000)]
* libjava.compile/T20020529.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54039
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Thu, 30 May 2002 01:49:57 +0000 (01:49 +0000)]
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
only if not already defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54038
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 30 May 2002 01:35:12 +0000 (01:35 +0000)]
* config/h8300/h8300-protos.h: Remove prototypes for
ok_for_bclr and small_power_of_two.
* config/h8300/h8300.c (small_power_of_two): Remove.
(ok_for_blcr): Likewise.
(fix_bit_operand): Make WHAT deal with an integer instead of a
constraint character.
* config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
(CONST_OK_FOR_P): Likewise.
(CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
CONST_OK_FOR_P any more.
* config/h8300/h8300.md (andqi3): Adjust to the new prototype
of fix_bit_operand.
(iorqi3): Likewise.
(xorqi3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54037
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Thu, 30 May 2002 01:29:29 +0000 (01:29 +0000)]
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
since it is no longer in CPP_PREDEFINES. Don't -U__MIPSEL__
or -U__MIPSEB__ before defining one or the other. Instead,
use %(subtarget_endian_default) if neither -EB nor -EL are
specified.
(SUBTARGET_EXTRA_SPECS): Define.
(SUBTARGET_CPP_SPEC): Remove __LONG64 handling. Use
%(netbsd_cpp_spec).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54036
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 30 May 2002 01:05:05 +0000 (01:05 +0000)]
* doc/md.texi (Patterns): Note pattern condition pitfall
for unnamed insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54035
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 30 May 2002 00:54:18 +0000 (00:54 +0000)]
2002-05-29 Aldy Hernandez <aldyh@redhat.com>
* rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
when TARGET_ALTIVEC. Move handling of generic unary, binary, and
ternary operations from here...
(rs6000_expand_builtin): ...to here.
New argument expandedp.
Change all instances of altivec_expand_binop_builtin to
rs6000_expand_binop_builtin.
(altivec_expand_unop_builtin): Rename to
rs6000_expand_unop_builtin.
(altivec_expand_binop_builtin): Rename to
rs6000_expand_binop_builtin.
(altivec_expand_ternop_builtin): Rename to
rs6000_expand_ternop_builtin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54034
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 May 2002 00:38:36 +0000 (00:38 +0000)]
* config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
(TARGET_BI_ARCH): Likewise.
* config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
(TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
(TARGET_64BIT_DEFAULT): Default to 0.
(TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54032
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 May 2002 00:28:14 +0000 (00:28 +0000)]
* config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
(get_pc_thunk_name): New.
(output_set_got): Use it.
(ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
into linkonce sections.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54031
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Wed, 29 May 2002 23:50:56 +0000 (23:50 +0000)]
* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
(CPP_SUBTARGET_SPEC): Don't provide different versions for
default-32 and default-64. Just always use %(netbsd_cpp_spec).
(SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
cpp_subtarget_spec64. Add netbsd_cpp_spec.
* config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54030
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 May 2002 23:04:23 +0000 (23:04 +0000)]
* flow.c (propagate_one_insn): Do not remove a dead insn if it
contains a REG_RETVAL note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54028
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 May 2002 22:56:13 +0000 (22:56 +0000)]
* haifa-sched (sched_analyze): Remove another useless clearing
of SCHED_GROUP_P I missed yesterday.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54027
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 May 2002 22:51:37 +0000 (22:51 +0000)]
* pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
* pa.c (pa_asm_output_mi_thunk): New function.
* pa-protos.h (pa_asm_output_mi_thunk): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54026
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Wed, 29 May 2002 21:59:08 +0000 (21:59 +0000)]
* config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
(avr_asm_only_p): Make non-static.
(enum avr_arch): Remove.
(avr_arch_types): New.
(avr_mcu_types): Update.
(avr_override_options): Use avr_arch_types table instead of switch.
* avr.h (CPP_PREDEFINES): Die.
(avr_base_arch_macro, avr_extra_arch_macro): New.
(TARGET_CPU_CPP_BUILTINS): New.
(CPP_SPEC, EXTRA_SPECS): Simplify.
(CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
CPP_AVR5_SPEC): Die.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54023
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Wed, 29 May 2002 21:31:48 +0000 (21:31 +0000)]
* config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
NETBSD_OS_CPP_BUILTINS_AOUT.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54022
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 May 2002 20:54:00 +0000 (20:54 +0000)]
* config/i386/i386.c (ix86_output_function_epilogue): New.
(TARGET_ASM_FUNCTION_EPILOGUE): New.
(pic_label_name): Remove.
(pic_labels_used): New.
(ix86_asm_file_end): Emit one pc load stub for each register used.
(output_set_got): Generate deep pc load to any register.
(ix86_select_alt_pic_regnum): New.
(ix86_save_reg): Don't save pic register if we can find a valid
call-clobbered replacement.
(ix86_expand_prologue): If we found a valid replacement, renumber
pic_offset_table_rtx.
* config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
pic_offset_table_rtx after reload.
(REAL_PIC_OFFSET_TABLE_REGNUM): New.
* config/i386/i386.md (set_got): Make insn, not expander.
(set_got_nopic, set_got_deep, set_got_nodeep): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54021
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 May 2002 20:29:21 +0000 (20:29 +0000)]
* config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
alignment for alloca.
* gcc.c-torture/execute/alloca-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54018
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 May 2002 20:16:50 +0000 (20:16 +0000)]
* config/i386/i386.c (output_pic_addr_const): Lowercase rip.
(print_operand_address): Only add rip for symbolic addresses
for which we do not have another relocation type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54017
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Wed, 29 May 2002 20:09:29 +0000 (20:09 +0000)]
* config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
(EXTRA_SPECS): Add netbsd_cpp_spec.
(CPP_SPEC): Use %(netbsd_cpp_spec).
(CPP_PREDEFINES): Remove.
* config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
(CPP_PREDEFINES): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54016
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 May 2002 19:55:34 +0000 (19:55 +0000)]
Revert this patch:
- * haifa-sched.c (schedule_block): Do not count USE and CLOBBER
- insns against the issue rate.
-
- * sched-deps.c (sched_create_groups_for_libcalls): New function.
- (sched_analyze): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54015
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 29 May 2002 19:30:07 +0000 (19:30 +0000)]
PR preprocessor/6844
* cppmacro.c (cpp_macro_definition): Reserve space for terminating
NUL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54014
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 29 May 2002 18:36:50 +0000 (18:36 +0000)]
* configure.host [s390*-linux*]: Set can_unwind_signal=yes.
* configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
Set SIGNAL_HANDLER=include/s390-linux.h.
* configure: Regenerate.
* include/s390-linux.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54012
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Wed, 29 May 2002 18:18:43 +0000 (18:18 +0000)]
2002-05-29 Eric Christopher <echristo@redhat.com>
* config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54011
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 29 May 2002 18:05:08 +0000 (18:05 +0000)]
* config/fr30/fr30.md: Remove previous restriction on splits.
Enforce conformance through gen_lowpart and cont_int_operand.
* config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
as the assembler does not support ".bss".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54010
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Wed, 29 May 2002 17:57:55 +0000 (17:57 +0000)]
* config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Remove.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
* config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Remove.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
* config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
(SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
Add netbsd_cpp_spec.
(CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54009
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 29 May 2002 17:15:42 +0000 (17:15 +0000)]
2002-05-29 Neil Booth <neil@daikokuya.demon.co.uk>
Zack Weinberg <zack@codesourcery.com>
* cppexp.c (cpp_num): Move to cpplib.h.
(CPP_ERROR): Remove.
(interpret_float_suffix, interpret_int_suffix): New.
(struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
(cpp_classify_number, cpp_interpret_integer): New.
(interpret_number): Remove.
(eval_token): Update to use new routines.
* cpphash.h (cpp_num_part): Move to cpplib.h.
* cppinit.c (cpp_post_options): Set warn_long_long.
* cpplib.h (struct cpp_options): Add warn_long_long.
(cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
cpp_interpret_integer): New.
testsuite:
* gcc.dg/cpp/c++98-pedantic.c, gcc.dg/cpp/c89-pedantic.c,
gcc.dg/cpp/c94-pedantic.c, gcc.dg/cpp/gnuc89-pedantic.c,
gcc.dg/cpp/if-1.c: Update for modified diagnostics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54007
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 29 May 2002 17:09:46 +0000 (17:09 +0000)]
2002-05-29 Joel Sherrill <joel@OARcorp.com>
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54006
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Wed, 29 May 2002 16:59:06 +0000 (16:59 +0000)]
* config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
(CPP_SUBTARGET_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54005
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 May 2002 16:53:46 +0000 (16:53 +0000)]
* haifa-sched.c (schedule_block): Do not count USE and CLOBBER
insns against the issue rate.
* sched-deps.c (sched_create_groups_for_libcalls): New function.
(sched_analyze): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54004
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 May 2002 16:23:28 +0000 (16:23 +0000)]
* ssa.c (rename_insn_1): Rename uses of undefined registers to
prevent confusion if/when the register is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54002
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 29 May 2002 16:13:24 +0000 (16:13 +0000)]
PR target/6838
* config/cris/cris.md: Fix typos and thinkos in comments.
("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
second alternative.
("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
("*mov_sideqi_mem"): Similar, but for operand 3.
("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
(splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
Remove spurious mode specifier on operand 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53999
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 29 May 2002 16:09:09 +0000 (16:09 +0000)]
* gcc.c-torture/execute/
20020529-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53998
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 29 May 2002 14:20:40 +0000 (14:20 +0000)]
* config/h8300/h8300-protos.h: Remove the prototype for
o_operand.
Add prototypes for single_one_operand and single_zero_operand.
* config/h8300/h8300.c (o_operand): Remove.
(single_one_operand): New.
(single_zero_operand): Likewise.
(print_operand): For 'V' operand, and the operand with 0xff.
For 'V' and 'W' operands, do not and the bit position with 7.
* config/h8300/h8300.md (various anonymous patterns): Replace
use of exact_log2 with single_one_operand/single_zero_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53994
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 29 May 2002 13:45:45 +0000 (13:45 +0000)]
* config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53993
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 29 May 2002 13:23:52 +0000 (13:23 +0000)]
* config/s390/s390.c (legitimate_pic_operand_p): Do not
accept symbolic LARL operands.
(s390_emit_epilogue): Do not set FRAME_RELATED_P on
epilogue insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53991
138bc75d-0d04-0410-961f-
82ee72b054a4
hpenner [Wed, 29 May 2002 11:59:32 +0000 (11:59 +0000)]
* config/s390/s390.md (cmpstr_64/31): Mark whole
input registers as used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53990
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 29 May 2002 08:59:45 +0000 (08:59 +0000)]
(libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53987
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 29 May 2002 07:19:24 +0000 (07:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53986
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 May 2002 01:37:22 +0000 (01:37 +0000)]
* config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
not current_function_uses_pic_offset_table and
current_function_uses_const_pool; examine current_function_profile.
(ix86_expand_prologue): Likewise. Add pic_offset_table_rtx as
input to blockage if needed.
(ix86_expand_call): Do not set current_function_uses_pic_offset_table.
(legitimize_pic_address): Likewise. Set regs_ever_live for
pic_offset_table_rtx when invoked during reload.
* config/i386/i386.h (FINALIZE_PIC): Remove.
* config/i386/i386.md (tablejump): Reformat. Do not set
current_function_uses_pic_offset_table.
(tls_global_dynamic, tls_local_dynamic_base): Likewise.
(blockage): Accept anything as operand 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53981
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Wed, 29 May 2002 01:12:56 +0000 (01:12 +0000)]
* config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
common CPP built-ins for all NetBSD a.out targets.
* config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
common CPP built-ins for all NetBSD ELF targets.
* config/netbsd.h: Add missing notice.
(NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
for all NetBSD targets.
(NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
for all NetBSD targets using an LP64 code model.
(NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
NetBSD targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53980
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 May 2002 00:25:19 +0000 (00:25 +0000)]
* flow.c (update_life_info_in_dirty_blocks): Only do a partial
update if UPDATE_LIFE_LOCAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53978
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Tue, 28 May 2002 23:15:18 +0000 (23:15 +0000)]
2002-05-28 Phil Edwards <pme@gcc.gnu.org>
* testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
CXX/INCLUDES.
* testsuite/Makefile.in: Regenerate.
* testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
list_modifiers.cc and rename from 'T'. Move code bodies...
* testsuite/testsuite_hooks.cc: ...to here. New file.
* testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
Add libv3test.a to link options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53977
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 28 May 2002 23:03:21 +0000 (23:03 +0000)]
* optabs.c (expand_binop): Fix nwords sign warnings.
generate pseudo for add_optab.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53976
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Tue, 28 May 2002 22:43:31 +0000 (22:43 +0000)]
* config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53975
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Tue, 28 May 2002 22:26:43 +0000 (22:26 +0000)]
config/sh reorganization to factor out endianness and coff:
* config/sh/little.h: New file.
* config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
defined, define to 0 to select big-endian.
(SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
(TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
* config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
* config/sh/t-be: New file.
* config/sh/t-le: New file.
* sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
(SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
(TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
(USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
(ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
(CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
(SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
(EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
CPP_DEFAULT_CPU_SPEC. Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
(LINK_SPEC): Define to SH_LINK_SPEC.
(TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
(LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
(SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
(CPP_SPEC): Reduce to %(subtarget_cpp_spec).
(TARGET_ENDIAN_DEFAULT): Define if not already defined.
* config/sh/coff.h: New file.
(TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
(TARGET_OBJFMT_CPP_BUILTINS): Define.
* config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
(ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
(DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
(ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
(PTRDIFF_TYPE): Likewise.
("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
(CPP_PREDEFINES): Don't define.
(TARGET_OBJFMT_CPP_BUILTINS): Define.
(LINK_SPEC): Define to SH_LINK_SPEC.
(LINK_EMUL_PREFIX): Redefine.
* config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
(SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
(CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
(CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
(TARGET_OS_CPP_BUILTINS): Define.
(TARGET_DEFAULT): Redefine.
(SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
* config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
(LINK_SPEC): Don't redefine.
(LINK_DEFAULT_CPU_EMUL): Redefine.
(TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
* sh.c (sh_asm_named_section): Don't declare / define.
* t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
* config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
(sh64-*-elf* tm_file): Likewise.
(sh-*-rtemself* tm_file): Likewise.
(sh-*-linux* tm_file): Likewise. Add sh/little.h.
(sh-*-linux* tmake_file): Add sh/t-le.
(sh-*-rtems* tm_file): Add sh/coff.h
(sh-*-* tm_file): Likewise.
* sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
CONSTANT_POOL_ADDRESS_P.
* coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53974
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 28 May 2002 22:03:06 +0000 (22:03 +0000)]
* sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
* haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53973
138bc75d-0d04-0410-961f-
82ee72b054a4
espie [Tue, 28 May 2002 21:24:48 +0000 (21:24 +0000)]
* config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove,
inherited from gas.h.
(ASM_QUAD): Undef. OpenBSD does not support it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53971
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Tue, 28 May 2002 21:11:45 +0000 (21:11 +0000)]
* doc/install.texi (binaries): Change mingw binaries
link to www.mingw.org.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53968
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Tue, 28 May 2002 20:44:09 +0000 (20:44 +0000)]
* cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53967
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 May 2002 20:27:45 +0000 (20:27 +0000)]
* config/i386/i386.c (ix86_compute_frame_layout): Do not add
bottom alignment for leaf functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53965
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 28 May 2002 20:19:15 +0000 (20:19 +0000)]
* config/pa/milli32.S, config/pa/lib1funcs.asm,
config/sparc/sol2-g1.asm: Delete unused files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53964
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 May 2002 20:08:29 +0000 (20:08 +0000)]
* varasm.c (default_binds_local_p): Check TREE_PUBLIC before
DECL_EXTERNAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53963
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 May 2002 20:01:29 +0000 (20:01 +0000)]
* flow.c (calculate_global_regs_live): Rename call_used to
invalidated_by_call. Initialize from regs_invalidated_by_call
instead of call_used_regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53962
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 May 2002 19:58:15 +0000 (19:58 +0000)]
* cfg.c (dump_flow_info): Print bb->index, not i, for block number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53961
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Tue, 28 May 2002 18:56:52 +0000 (18:56 +0000)]
* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
and libgcj for AVR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53960
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 28 May 2002 17:33:14 +0000 (17:33 +0000)]
* tree.h: Forward-declare struct realvaluetype.
(struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
contain it.
(TREE_REAL_CST_PTR): New accessor.
(TREE_REAL_CST): Update.
* real.h: Include machmode.h.
(realvaluetype): Make it struct realvaluetype, not a typedef.
(build_real): Prototype here.
* tree.c: Include real.h.
(build_real): Allocate the REAL_VALUE_TYPE as a separate
object in GC memory, set TREE_REAL_CST_PTR to point to it.
(build_real_from_int_cst): Use build_real.
* ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
REAL_CST.
* builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
fold-const.c, print-tree.c, real.c, cp/mangle.c, cp/tree.c,
f/bld.c, f/com.c, f/expr.c, f/target.c, java/decl.c,
java/jcf-parse.c, java/parse.y, java/typeck.c: Include real.h.
* Makefile.in, cp/Make-lang.in, f/Make-lang.in,
java/Make-lang.in: Update dependency lists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53959
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Tue, 28 May 2002 12:53:47 +0000 (12:53 +0000)]
* basic-block.h (last_basic_block): Declare.
(expunge_block_nocompact): Declaration removed.
(compact_blocks): Declare.
* cfg.c (last_basic_block): New variable.
(expunge_block_nocompact): Removed.
(expunge_block): Do not compact basic blocks.
(compact_blocks): New.
* cfganal.c (flow_call_edges_add): Use the fact that bb indices no
longer change.
* cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set
last_basic_block.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change
real positions of blocks.
(delete_unreachable_blocks): Simplified -- quadratic behavior now
cannot occur.
(cleanup_cfg): Compact blocks.
* cfgrtl.c (create_basic_block): Insert basic blocks to the end of
basic_block_info varray.
(flow_delete_block): Comment update.
(back_edge_of_syntactic_loop_p): Modify position check code.
(verify_flow_info): Update checking.
* flow.c (calculate_global_regs_live): Use FOR_EACH_BB.
* ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
(find_if_case_1, find_if_case_2, if_convert): Use the fact that bb
indices no longer change.
* lcm.c (optimize_mode_switching): Replace n_basic_blocks with
last_basic_block.
* predict.c (estimate_bb_frequencies): Remove unneccessary code.
* profile.c (branch_prob): Compact blocks.
* sched-rgn.c (find_rgns): Replace n_basic_blocks with
last_basic_block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53957
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 28 May 2002 12:36:03 +0000 (12:36 +0000)]
* config/h8300/h8300.md (two anonymous patterns): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53955
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 28 May 2002 09:17:46 +0000 (09:17 +0000)]
2002-05-28 David S. Miller <davem@redhat.com>
* config/sparc/sparc.md (cpu): Tidy.
(type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and
'trap'.
(in_call_delay): Delete reference to 'return' type.
(eligible_for_return_delay, in_return_delay, define_delay
referencing those): Delete.
(rest of file): Use new type attributes as appropriate.
* config/sparc/sparc-protos.h (eligible_for_return_delay): Delete.
* config/sparc/sparc.c (eligible_for_return_delay): Likewise.
* config/sparc/ultra1_2.md (us1_single): New reservation.
(us1_ialuX): Likewise.
* config/sparc/ultra3.md (us3_single): Likewise.
(us3_ialuX): Likewise.
(us3_imul, us3_idiv): Tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53953
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 May 2002 08:42:20 +0000 (08:42 +0000)]
* config/alpha/alpha.c (alpha_in_small_data_p): Return false for
STRING_CST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53952
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 28 May 2002 07:21:59 +0000 (07:21 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53951
138bc75d-0d04-0410-961f-
82ee72b054a4
bo [Tue, 28 May 2002 07:11:42 +0000 (07:11 +0000)]
Fix last commit. Sorry about that.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53946
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 May 2002 07:02:44 +0000 (07:02 +0000)]
* config.gcc: Obsolete mn10200.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53944
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 28 May 2002 05:44:06 +0000 (05:44 +0000)]
* cppexp.c (interpret_number): Optimize for single-digit
and less-than-half-precision cases.
(num_trim, num_positive, num_div_op): Cast constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53943
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 28 May 2002 02:02:46 +0000 (02:02 +0000)]
* src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53942
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 27 May 2002 21:09:38 +0000 (21:09 +0000)]
* c-common.c: Add support for __attribute__((nothrow)) to specify
that a function cannot throw an exception (using TREE_NOTHROW).
(handle_nothrow_attribute): New function to process this attribute.
* doc/extend.texi: Document the new nothrow function attribute.
2002-05-27 Richard Henderson <rth@redhat.com>
* g++.dg/ext/attrib6.C: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53940
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 27 May 2002 20:54:50 +0000 (20:54 +0000)]
2002-05-27 H.J. Lu (hjl@gnu.org)
* cppexp.c (num_trim): Use 1UL instead of 1 for long int.
(num_positive): Likewise.
(num_div_op): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53939
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 27 May 2002 20:23:13 +0000 (20:23 +0000)]
* testsuite/gcc.dg/cpp/arith-3.c: Need -std=c99.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53938
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 27 May 2002 20:19:53 +0000 (20:19 +0000)]
* gcc.c-torture/execute/pure-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53937
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 27 May 2002 18:04:58 +0000 (18:04 +0000)]
* c-common.c (c_common_init): Always use intmax_t.
testsuite:
* gcc.dg/cpp/arith-2.c: Remove.
* gcc.dg/cpp/arith-3.c: Don't set std=c99.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53936
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 27 May 2002 17:19:44 +0000 (17:19 +0000)]
* c-common.c (c_common_init): Use intmax_t for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53935
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 27 May 2002 14:55:57 +0000 (14:55 +0000)]
c
2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
* src/misc-inst.cc: Define unnecessary algorithm
instantiations. Break apart instantiations into groupings below.
* src/fstream-inst.cc: New.
* src/io-inst.cc: New.
* src/istream-inst.cc: New.
* src/ostream-inst.cc: New.
* src/streambuf-inst.cc: New.
* src/sstream-inst.cc: New.
* src/Makefile.am (sources): Add files.
* src/Makefile.in: Regenerate.
* acinclude.m4: Work around automake 1.4-p5 bug, change
AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53930
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 27 May 2002 14:40:38 +0000 (14:40 +0000)]
2002-05-24 Andrew Haley <aph@redhat.com>
* fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c
if T is a boolean type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53929
138bc75d-0d04-0410-961f-
82ee72b054a4