Kaveh R. Ghazi [Sat, 1 Jun 2002 01:53:53 +0000 (01:53 +0000)]
*: Delete KR_headers cruft.
* libF77/*: Delete KR_headers cruft.
* libI77/*: Likewise.
* libU77/*: Likewise.
From-SVN: r54132
Zack Weinberg [Sat, 1 Jun 2002 01:53:28 +0000 (01:53 +0000)]
Makefile.in (INSTALL_CPP, [...]): Remove.
* Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
(install): Refer to install-cpp directly.
(uninstall-cpp): Folded into uninstall rule.
* configure.in: Delete all code relating to --disable-cpp.
* configure: Regenerate.
* config/t-install-cpp: Delete.
From-SVN: r54131
Phil Edwards [Sat, 1 Jun 2002 00:50:40 +0000 (00:50 +0000)]
Fix typo in my previous changelog commit. Again.
From-SVN: r54129
Marcus Meissner [Sat, 1 Jun 2002 00:48:21 +0000 (00:48 +0000)]
stl_bvector.h: Use UL suffix for unsigned longs.
2002-05-31 Marcus Meissner <meissner@suse.de>
* include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
* testsuite/23_containers/vector_bool.cc (test02): New test.
From-SVN: r54128
Richard Henderson [Sat, 1 Jun 2002 00:19:10 +0000 (17:19 -0700)]
configure.in (HAVE_AS_TLS): Add alpha tests.
* configure.in (HAVE_AS_TLS): Add alpha tests.
* configure: Rebuild.
* config/alpha/alpha.c (TARGET_AS_TLS): New.
(alpha_tls_size, alpha_tls_size_string): New.
(overide_options): Set it. Always install machine_status hooks.
(input_operand): Accept got tls predicates.
(local_symbol_p): Merge into ...
(local_symbolic_operand): ... here. Reject tls symbols.
(global_symbolic_operand): Likewise.
(tls_symbolic_operand_1, dtp16_symbolic_operand): New.
(dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
(tp16_symbolic_operand, tp32_symbolic_operand): New.
(gottp_symbolic_operand, tls_symbolic_operand_type): New.
(alpha_encode_section_info): Handle TLS symbols.
(alpha_strip_name_encoding): Likewise.
(alpha_legitimate_address_p): Likewise.
(alpha_legitimize_address): Likewise.
(alpha_expand_mov): Early exit to avoid nop moves.
(struct machine_function): Move from unicosmk.h. Add some_ld_name.
(alpha_init_machine_status, alpha_mark_machine_status,
alpha_free_machine_status): Always define.
(get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
(print_operand, print_operand_address): Add TLS relocs.
* config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
(MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
(TARGET_SWITCHES): Add -mtls-kernel.
(alpha_tls_size, alpha_tls_size_string): New.
(TARGET_OPTIONS): Add -mtls-size=.
(reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
(ASM_OUTPUT_LABELREF): Skip %.
(PRINT_OPERAND_PUNCT_VALID_P): Add &.
(PREDICATE_CODES): Update.
* config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
UNSPEC_TP, UNSPECV_SET_TP): New.
(adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
(call_value_osf_2_er): Accept anything as op4.
* config/alpha/alpha-protos.h: Update.
* config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.
From-SVN: r54125
Zack Weinberg [Fri, 31 May 2002 22:57:55 +0000 (22:57 +0000)]
cppinit.c (append_include_chain): Always pay attention to cxx_aware when setting new->sysp.
* cppinit.c (append_include_chain): Always pay attention to
cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED
marker on argument.
From-SVN: r54124
Kazu Hirata [Fri, 31 May 2002 22:15:42 +0000 (22:15 +0000)]
target.h: Fix formatting.
* target.h: Fix formatting.
* timevar.h: Likewise.
* tlink.c: Likewise.
* toplev.c: Likewise.
* toplev.h: Likewise.
* tree.c: Likewise.
* tree-dump.h: Likewise.
* tree.h: Likewise.
* tree-inline.h: Likewise.
* unroll.c: Likewise.
* unwind-dw2.c: Likewise.
* unwind-dw2-fde.c: Likewise.
* unwind-dw2-fde-glibc.c: Likewise.
* unwind-dw2-fde.h: Likewise.
* unwind.h: Likewise.
* unwind-sjlj.c: Likewise.
* varasm.c: Likewise.
* varray.h: Likewise.
* vmsdbg.h: Likewise.
* vmsdbgout.c: Likewise.
* xcoffout.h: Likewise.
From-SVN: r54123
Igor Shevlyakov [Fri, 31 May 2002 22:08:12 +0000 (22:08 +0000)]
expr.c (compare_from_rtx): Generate comparison between op0 and op1 rather than cc0 and 0 in a case when...
* expr.c (compare_from_rtx): Generate comparison between op0 and op1
rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
From-SVN: r54122
Matthew Woodcraft [Fri, 31 May 2002 21:01:28 +0000 (21:01 +0000)]
gcc.c (cpp_unique_options): Remove "-d" options.
* gcc.c (cpp_unique_options): Remove "-d" options.
(cpp_debug_options): New spec string.
(default_compilers): Use it.
* objc/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
From-SVN: r54121
Nathanael Nerode [Fri, 31 May 2002 20:12:31 +0000 (20:12 +0000)]
Makefile.in: Replace HOST_PREFIX...
* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
BUILD_PREFIX_1, to correct nomenclature.
* configure: Likewise.
From-SVN: r54119
Nathanael Nerode [Fri, 31 May 2002 20:11:49 +0000 (20:11 +0000)]
Makefile.in: Replace HOST_PREFIX...
* gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
* gcc/mklibgcc.in: Likewise.
* gcc/config/arc/t-arc: Likewise.
* gcc/configure.in: Likewise.
* gcc/configure: Regenerate.
From-SVN: r54118
Nathanael Nerode [Fri, 31 May 2002 19:42:41 +0000 (19:42 +0000)]
Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* configure.in: Eliminate version-specific references to tcl8.1, tk8.1.
From-SVN: r54117
Stan Shebs [Fri, 31 May 2002 19:41:45 +0000 (19:41 +0000)]
c-decl.c (struct binding_level): Change int field n_incomplete to tree list incomplete_list.
2002-05-31 Stan Shebs <shebs@apple.com>
Turly O'Connor <turly@apple.com>
* c-decl.c (struct binding_level): Change int field n_incomplete
to tree list incomplete_list.
(clear_binding_level): Init field with NULL.
(pushdecl): Add incomplete type to list.
(mark_binding_level): Mark the incomplete list.
(finish_struct): Scan the incomplete list for types instead
of all decls in the current binding level.
Co-Authored-By: Turly O'Connor <turly@apple.com>
From-SVN: r54116
Olaf Hering [Fri, 31 May 2002 19:30:52 +0000 (19:30 +0000)]
* config-ml.in: Propogate DESTDIR also.
From-SVN: r54114
Florian Weimer [Fri, 31 May 2002 19:27:59 +0000 (21:27 +0200)]
5ntaprop.adb (with System.OS_Primitives): Remove.
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* 5ntaprop.adb (with System.OS_Primitives): Remove.
From-SVN: r54113
Florian Weimer [Fri, 31 May 2002 18:08:23 +0000 (20:08 +0200)]
cstreams.c (max_path_len): Move from here ...
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* cstreams.c (max_path_len): Move from here ...
* adaint.c (__gnat_max_path_len): ... to here.
* adaint.c (__gnat_max_path_len): Declare.
* g-dirope.adb (Max_Path): Adjust.
* g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
* i-cstrea.ads (max_path_len): Adjust.
* osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
* xr_tabls.adb (Dir_Name.Max_Path: Adjust.
From-SVN: r54112
John David Anglin [Fri, 31 May 2002 18:01:13 +0000 (18:01 +0000)]
pa.c (output_millicode_call): Add missing '%' characters.
2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.c (output_millicode_call): Add missing '%' characters.
(output_call): Likewise.
From-SVN: r54111
David Edelsohn [Fri, 31 May 2002 17:45:58 +0000 (17:45 +0000)]
xcoff.h (HOT_TEXT_SECTION_NAME): Define.
* config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
(UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
From-SVN: r54110
Florian Weimer [Fri, 31 May 2002 16:50:45 +0000 (18:50 +0200)]
update_web_docs (MANUALS): Include various flavours of the GNAT User Guide.
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* update_web_docs (MANUALS): Include various flavours of the GNAT
User Guide.
From-SVN: r54109
Alan Lehotsky [Fri, 31 May 2002 12:49:27 +0000 (08:49 -0400)]
*** empty log message ***
From-SVN: r54108
J"orn Rennecke [Fri, 31 May 2002 12:04:33 +0000 (12:04 +0000)]
* config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
From-SVN: r54107
Jan Hubicka [Fri, 31 May 2002 11:54:11 +0000 (13:54 +0200)]
i386.c (classify_argument): Properly handle base types.
* i386.c (classify_argument): Properly handle base types.
* dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
registers.
From-SVN: r54106
Jan Hubicka [Fri, 31 May 2002 11:43:18 +0000 (13:43 +0200)]
gcse.c (gcse_emit_move_after): New.
* gcse.c (gcse_emit_move_after): New.
(pre_delete, hoist_store): Use it.
* reload1.c (emit_input_reload_insns): Use constrain_operands
instead of constraint_accepts_reg_p to verify optimization.
(constraint_accepts_reg_p): Kill
* reload1.c (reload_cse_delete_noop_set): Kill.
(reload_cse_simplify): use delte_insn_and_edges.
From-SVN: r54105
Zdenek Dvorak [Fri, 31 May 2002 11:09:17 +0000 (13:09 +0200)]
cfgloop.c (flow_loops_find): Initialize first and last fields correctly.
* cfgloop.c (flow_loops_find): Initialize first and last fields
correctly.
From-SVN: r54104
Florian Weimer [Fri, 31 May 2002 11:08:38 +0000 (13:08 +0200)]
gcc_update (files_and_dependencies): Add generated Texinfo files for Ada.
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* gcc_update (files_and_dependencies): Add generated Texinfo files
for Ada.
From-SVN: r54103
Florian Weimer [Fri, 31 May 2002 10:47:33 +0000 (12:47 +0200)]
Makefile.in, [...]: Documentation is now built in Make-lang.in.
2002-05-31 Florian Weimer <fw@deneb.enyo.de>
* Makefile.in, Make-lang.in: Documentation is now built in
Make-lang.in. Store Info and generated Texinfo files in the
source directory.
* gnat_ug.texi: Remove CVS keywords, correct version number.
Set file name correctly.
* gnat_ug_*.texi: Add.
* .cvsignore: Ignore generated Texinfo files.
From-SVN: r54100
GCC Administrator [Fri, 31 May 2002 07:18:14 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r54095
Neil Booth [Fri, 31 May 2002 06:01:18 +0000 (06:01 +0000)]
* c-common.c (builtin_define_std): Correct logic.
From-SVN: r54089
John David Anglin [Fri, 31 May 2002 05:41:30 +0000 (05:41 +0000)]
pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
* pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
(output_call): Likewise.
From-SVN: r54088
John David Anglin [Fri, 31 May 2002 04:32:41 +0000 (04:32 +0000)]
pa.c: Move output.h include after tree.h include.
* pa.c: Move output.h include after tree.h include.
(pa_asm_output_mi_thunk): Constify identifier lab.
From-SVN: r54087
Jason Thorpe [Fri, 31 May 2002 04:23:14 +0000 (04:23 +0000)]
ns32k.h: Define named constants for the bits in target_flags and use them.
* config/ns32k/ns32k.h: Define named constants for the
bits in target_flags and use them.
* config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.
From-SVN: r54086
John David Anglin [Fri, 31 May 2002 04:00:42 +0000 (04:00 +0000)]
config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0 architecture and pa/pa-7100.h for...
2002-05-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
* config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
* pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
default scheduling model.
* pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
* pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
* pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
* doc/install.texi (hppa*-*-*): Document default scheduling.
From-SVN: r54085
John David Anglin [Fri, 31 May 2002 03:30:42 +0000 (03:30 +0000)]
* pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
From-SVN: r54084
Kaveh R. Ghazi [Fri, 31 May 2002 03:07:21 +0000 (03:07 +0000)]
Makefile.in (WARN_CFLAGS): New.
* 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.
From-SVN: r54083
Jason Thorpe [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.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.
From-SVN: r54082
Jason Thorpe [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.
* longlong.h (count_trailing_zeros): Add missing \, and clean up
whitespace in __ns32000__ case.
From-SVN: r54081
Aldy Hernandez [Fri, 31 May 2002 02:21:31 +0000 (02:21 +0000)]
expr.c (expand_expr): Output partially zeroed out vectors with output_constant_def.
2002-05-31 Aldy Hernandez <aldyh@redhat.com>
* expr.c (expand_expr): Output partially zeroed out vectors with
output_constant_def.
From-SVN: r54080
Jason Thorpe [Fri, 31 May 2002 01:31:26 +0000 (01:31 +0000)]
config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.
From-SVN: r54079
Richard Henderson [Thu, 30 May 2002 23:08:27 +0000 (16:08 -0700)]
re PR rtl-optimization/6822 (GCC 3.1.1 - Internal compiler error in extract_insn, at recog.c:2132)
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.
Co-Authored-By: Eric Botcazou <ebotcazou@multimania.com>
From-SVN: r54076
Eric Botcazou [Thu, 30 May 2002 21:33:32 +0000 (21:33 +0000)]
expmed.c (const_mult_add_overflow_p): New.
* 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.
From-SVN: r54075
Osku Salerma [Thu, 30 May 2002 21:28:17 +0000 (00:28 +0300)]
c-common.c (c_common_attribute_table): Add "may_alias" entry.
* 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.
From-SVN: r54074
Richard Henderson [Thu, 30 May 2002 21:01:20 +0000 (14:01 -0700)]
defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* 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.
From-SVN: r54072
Marc Espie [Thu, 30 May 2002 21:00:28 +0000 (21:00 +0000)]
configure.in: Always check for sys/types.h
2002-05-30 Marc Espie <espie@openbsd.org>
* configure.in: Always check for sys/types.h
* configure: Regenerate.
From-SVN: r54071
Kazu Hirata [Thu, 30 May 2002 20:55:11 +0000 (20:55 +0000)]
langhooks.c: Fix formatting.
* 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.
From-SVN: r54070
H.J. Lu [Thu, 30 May 2002 20:46:53 +0000 (20:46 +0000)]
open.c (_XOPEN_SOURCE): Removed.
2002-05-30 H.J. Lu (hjl@gnu.org)
* libI77/open.c (_XOPEN_SOURCE): Removed.
From-SVN: r54069
Marc Espie [Thu, 30 May 2002 20:35:58 +0000 (20:35 +0000)]
config.gcc (sparc64-*-openbsd*): New.
2002-05-30 Marc Espie <espie@openbsd.org>
* config.gcc (sparc64-*-openbsd*): New.
* config/sparc/openbsd1-64.h: New.
* config/sparc/openbsd64.h: New.
From-SVN: r54066
Jeff Law [Thu, 30 May 2002 20:20:28 +0000 (14:20 -0600)]
flow.c (propagate_one_insn): Revise yesterday's patch.
* 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.
From-SVN: r54065
J"orn Rennecke [Thu, 30 May 2002 18:58:31 +0000 (18:58 +0000)]
lcm.c (output.h): #include.
* 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.
From-SVN: r54064
Zack Weinberg [Thu, 30 May 2002 18:39:02 +0000 (18:39 +0000)]
ada.h: Add MI guard macro.
* 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.
From-SVN: r54063
Jan Hubicka [Thu, 30 May 2002 18:28:56 +0000 (20:28 +0200)]
gengenrtl.c (type_from_format, [...]): Support 'B'.
* gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
* rtl.texi: Document 'B'
From-SVN: r54062
Zack Weinberg [Thu, 30 May 2002 17:38:11 +0000 (17:38 +0000)]
Fix omission in log for earlier change
From-SVN: r54061
Jason Thorpe [Thu, 30 May 2002 17:14:24 +0000 (17:14 +0000)]
netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute at run-time.
* config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
at run-time.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
From-SVN: r54059
Jeff Law [Thu, 30 May 2002 16:15:25 +0000 (10:15 -0600)]
* pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
From-SVN: r54058
Marek Michalkiewicz [Thu, 30 May 2002 13:35:23 +0000 (13:35 +0000)]
* config/avr/avr.c (avr_mcu_types): Fix typo in previous patch.
From-SVN: r54057
Aldy Hernandez [Thu, 30 May 2002 12:14:33 +0000 (12:14 +0000)]
fix typo in last commit
From-SVN: r54055
Aldy Hernandez [Thu, 30 May 2002 12:07:10 +0000 (12:07 +0000)]
rs6000.c (rs6000_expand_unop_builtin): Return const0_rtx instead of NULL_RTX when in error.
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.
From-SVN: r54054
David S. Miller [Thu, 30 May 2002 10:23:30 +0000 (03:23 -0700)]
rtl.h (clear_emit_caches): Delete.
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.
From-SVN: r54053
GCC Administrator [Thu, 30 May 2002 07:18:19 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r54047
Hans-Peter Nilsson [Thu, 30 May 2002 06:48:12 +0000 (06:48 +0000)]
mmix.c: Include real.h.
* config/mmix/mmix.c: Include real.h.
(mmix_constant_address_p): Remove redundant test before switch.
From-SVN: r54042
Jason Thorpe [Thu, 30 May 2002 02:53:32 +0000 (02:53 +0000)]
configure.in (vax-*-netbsd*): Don't build gas for this platform.
* configure.in (vax-*-netbsd*): Don't build gas for this
platform.
From-SVN: r54040
Bryce McKinlay [Thu, 30 May 2002 02:53:13 +0000 (02:53 +0000)]
* libjava.compile/T20020529.java: New file.
From-SVN: r54039
Jason Thorpe [Thu, 30 May 2002 01:49:57 +0000 (01:49 +0000)]
mips.h (READONLY_DATA_SECTION_ASM_OP): Define only if not already defined.
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
only if not already defined.
From-SVN: r54038
Kazu Hirata [Thu, 30 May 2002 01:35:12 +0000 (01:35 +0000)]
h8300-protos.h: Remove prototypes for ok_for_bclr and small_power_of_two.
* 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.
From-SVN: r54037
Jason Thorpe [Thu, 30 May 2002 01:29:29 +0000 (01:29 +0000)]
netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
* 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).
From-SVN: r54036
Hans-Peter Nilsson [Thu, 30 May 2002 01:05:05 +0000 (01:05 +0000)]
md.texi (Patterns): Note pattern condition pitfall for unnamed insn.
* doc/md.texi (Patterns): Note pattern condition pitfall
for unnamed insn.
From-SVN: r54035
Aldy Hernandez [Thu, 30 May 2002 00:54:18 +0000 (00:54 +0000)]
rs6000.c: (altivec_expand_builtin): Only expand altivec builtins when TARGET_ALTIVEC.
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.
From-SVN: r54034
Richard Henderson [Thu, 30 May 2002 00:38:36 +0000 (17:38 -0700)]
biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
* 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.
From-SVN: r54032
Richard Henderson [Thu, 30 May 2002 00:28:14 +0000 (17:28 -0700)]
i386.c (USE_HIDDEN_LINKONCE): New.
* 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.
From-SVN: r54031
Jason Thorpe [Wed, 29 May 2002 23:50:56 +0000 (23:50 +0000)]
netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
* 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).
From-SVN: r54030
Jeff Law [Wed, 29 May 2002 23:04:23 +0000 (17:04 -0600)]
flow.c (propagate_one_insn): Do not remove a dead insn if it contains a REG_RETVAL note.
* flow.c (propagate_one_insn): Do not remove a dead insn if it
contains a REG_RETVAL note.
From-SVN: r54028
Jeff Law [Wed, 29 May 2002 22:56:13 +0000 (16:56 -0600)]
haifa-sched (sched_analyze): Remove another useless clearing of SCHED_GROUP_P I missed yesterday.
* haifa-sched (sched_analyze): Remove another useless clearing
of SCHED_GROUP_P I missed yesterday.
From-SVN: r54027
Jeff Law [Wed, 29 May 2002 22:51:37 +0000 (16:51 -0600)]
pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
* 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.
From-SVN: r54026
Neil Booth [Wed, 29 May 2002 21:59:08 +0000 (21:59 +0000)]
avr.c (avr_base_arch_macro, [...]): New.
* 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.
Co-Authored-By: Marek Michalkiewicz <marekm@amelek.gda.pl>
From-SVN: r54023
Jason Thorpe [Wed, 29 May 2002 21:31:48 +0000 (21:31 +0000)]
netbsd.h (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_AOUT.
* config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
NETBSD_OS_CPP_BUILTINS_AOUT.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
From-SVN: r54022
Richard Henderson [Wed, 29 May 2002 20:54:00 +0000 (13:54 -0700)]
i386.c (ix86_output_function_epilogue): New.
* 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.
From-SVN: r54021
Richard Henderson [Wed, 29 May 2002 20:29:21 +0000 (13:29 -0700)]
i386.c (ix86_compute_frame_layout): Do add bottom alignment for alloca.
* config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
alignment for alloca.
* gcc.c-torture/execute/alloca-1.c: New.
From-SVN: r54018
Richard Henderson [Wed, 29 May 2002 20:16:50 +0000 (13:16 -0700)]
i386.c (output_pic_addr_const): Lowercase rip.
* 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.
From-SVN: r54017
Jason Thorpe [Wed, 29 May 2002 20:09:29 +0000 (20:09 +0000)]
netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
* 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.
From-SVN: r54016
Jeff Law [Wed, 29 May 2002 19:55:34 +0000 (13:55 -0600)]
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.
From-SVN: r54015
Neil Booth [Wed, 29 May 2002 19:30:07 +0000 (19:30 +0000)]
re PR preprocessor/6844 (Seg fault when trying to preprocess a file with lots of #define's)
PR preprocessor/6844
* cppmacro.c (cpp_macro_definition): Reserve space for terminating
NUL.
From-SVN: r54014
Ulrich Weigand [Wed, 29 May 2002 18:36:50 +0000 (18:36 +0000)]
configure.host [...]: Set can_unwind_signal=yes.
* 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.
From-SVN: r54012
Eric Christopher [Wed, 29 May 2002 18:18:43 +0000 (18:18 +0000)]
linux.h (SUBTARGET_CPP_SPEC): Add support for mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
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.
From-SVN: r54011
Nick Clifton [Wed, 29 May 2002 18:05:08 +0000 (18:05 +0000)]
fr30.md: Remove previous restriction on splits.
* 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".
From-SVN: r54010
Jason Thorpe [Wed, 29 May 2002 17:57:55 +0000 (17:57 +0000)]
netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
* 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).
From-SVN: r54009
Neil Booth [Wed, 29 May 2002 17:15:42 +0000 (17:15 +0000)]
cppexp.c (cpp_num): Move to cpplib.h.
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.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r54007
Joel Sherrill [Wed, 29 May 2002 17:09:46 +0000 (17:09 +0000)]
rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
2002-05-29 Joel Sherrill <joel@OARcorp.com>
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
From-SVN: r54006
Jason Thorpe [Wed, 29 May 2002 16:59:06 +0000 (16:59 +0000)]
netbsd.h (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
* 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.
From-SVN: r54005
Jeff Law [Wed, 29 May 2002 16:53:46 +0000 (10:53 -0600)]
haifa-sched.c (schedule_block): Do not count USE and CLOBBER insns against the issue rate.
* 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.
From-SVN: r54004
Chris Lattner [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...
* ssa.c (rename_insn_1): Rename uses of undefined registers to
prevent confusion if/when the register is defined.
From-SVN: r54002
Hans-Peter Nilsson [Wed, 29 May 2002 16:13:24 +0000 (16:13 +0000)]
re PR target/6838 (cris-elf ICE (gcc 3.1))
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.
From-SVN: r53999
Hans-Peter Nilsson [Wed, 29 May 2002 16:09:09 +0000 (16:09 +0000)]
* gcc.c-torture/execute/
20020529-1.c: New test.
From-SVN: r53998
Kazu Hirata [Wed, 29 May 2002 14:20:40 +0000 (14:20 +0000)]
h8300-protos.h: Remove the prototype for o_operand.
* 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.
From-SVN: r53994
Ulrich Weigand [Wed, 29 May 2002 13:45:45 +0000 (13:45 +0000)]
* config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
From-SVN: r53993
Ulrich Weigand [Wed, 29 May 2002 13:23:52 +0000 (13:23 +0000)]
s390.c (legitimate_pic_operand_p): Do not accept symbolic LARL operands.
* 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.
From-SVN: r53991
Hartmut Penner [Wed, 29 May 2002 11:59:32 +0000 (11:59 +0000)]
s390.md (cmpstr_64/31): Mark whole input registers as used.
* config/s390/s390.md (cmpstr_64/31): Mark whole
input registers as used.
From-SVN: r53990
Nick Clifton [Wed, 29 May 2002 08:59:45 +0000 (08:59 +0000)]
(libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.
From-SVN: r53987
GCC Administrator [Wed, 29 May 2002 07:19:24 +0000 (07:19 +0000)]
Daily bump.
From-SVN: r53986
Richard Henderson [Wed, 29 May 2002 01:37:22 +0000 (18:37 -0700)]
i386.c (ix86_save_reg): Examine regs_ever_live...
* 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.
From-SVN: r53981
Jason Thorpe [Wed, 29 May 2002 01:12:56 +0000 (01:12 +0000)]
netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define common CPP built-ins for all NetBSD a.out targets.
* 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.
From-SVN: r53980
Richard Henderson [Wed, 29 May 2002 00:25:19 +0000 (17:25 -0700)]
flow.c (update_life_info_in_dirty_blocks): Only do a partial update if UPDATE_LIFE_LOCAL.
* flow.c (update_life_info_in_dirty_blocks): Only do a partial
update if UPDATE_LIFE_LOCAL.
From-SVN: r53978