gcc.git
21 years agoDon't let regrename clobber the link register.
Jim Wilson [Tue, 1 Oct 2002 13:48:20 +0000 (13:48 +0000)]
Don't let regrename clobber the link register.

* config/v850/v850.h (EPILOGUE_USES): Define.

From-SVN: r57689

21 years agoflow.c (insn_dead_p): When using non-call-exceptions, don't eliminate insns that...
Andrew Haley [Tue, 1 Oct 2002 12:19:36 +0000 (12:19 +0000)]
flow.c (insn_dead_p): When using non-call-exceptions, don't eliminate insns that may trap.

2002-09-30  Andrew Haley  <aph@redhat.com>

* flow.c (insn_dead_p): When using non-call-exceptions, don't
eliminate insns that may trap.
* cse.c (insn_live_p): Likewise.

From-SVN: r57688

21 years agomips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
Richard Sandiford [Tue, 1 Oct 2002 10:26:09 +0000 (10:26 +0000)]
mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.

* config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
(TARGET_MIPS4121): Rename to TARGET_MIPS4120.
* config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
* config/mips/mips.md: Apply same renaming here.

From-SVN: r57687

21 years agomips.c (PROCESSOR_R4320, [...]): Remove.
Richard Sandiford [Tue, 1 Oct 2002 10:23:52 +0000 (10:23 +0000)]
mips.c (PROCESSOR_R4320, [...]): Remove.

* config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
(GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
* config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
* config/mips/mips.md (define_attr cpu): Remove r4320.
Remove vr4320 scheduler and uses of TARGET_MIPS4320.

From-SVN: r57686

21 years agomips.c (mips16_strings): New variable.
Richard Sandiford [Tue, 1 Oct 2002 10:22:07 +0000 (10:22 +0000)]
mips.c (mips16_strings): New variable.

* config/mips/mips.c (mips16_strings): New variable.
(mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
symbol in mips16_strings.  Free the list.
(mips_encode_section_info): Keep track of local strings.

From-SVN: r57685

21 years agomips.md (bunge, [...]): New define_expands.
Richard Sandiford [Tue, 1 Oct 2002 10:20:33 +0000 (10:20 +0000)]
mips.md (bunge, [...]): New define_expands.

[gcc/]
* config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
(sordered_df, sordered_sf): Remove.
* config/mips/mips.c (get_float_compare_codes): New fn.
(gen_int_relational, gen_conditional_move): Use it.

[gcc/testsuite]
* gcc.c-torture/compile/20020923-1.c: New test.

From-SVN: r57684

21 years agomips-protos.h (mips_emit_fcc_reload): Declare.
Richard Sandiford [Tue, 1 Oct 2002 10:14:35 +0000 (10:14 +0000)]
mips-protos.h (mips_emit_fcc_reload): Declare.

* config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
* config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
* config/mips/mips.c (fcc_register_operand): New function.
(mips_emit_fcc_reload): New function, extracted from reload_incc.
(override_options): Allow TFmode values in float registers
if ISA_HAS_8CC.
* cnfig/mips/mips.md (reload_incc): Change destination prediate
to fcc_register_operand.  Remove misleading source constraint.
Use mips_emit_fcc_reload.
(reload_outcc): Duplicate reload_incc.

From-SVN: r57683

21 years agolocks.h (compare_and_swap): Fix multilib support.
Bo Thorsen [Tue, 1 Oct 2002 09:02:08 +0000 (09:02 +0000)]
locks.h (compare_and_swap): Fix multilib support.

2002-09-30  Bo Thorsen  <bo@suse.de>

* sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.

From-SVN: r57682

21 years agoDaily bump.
GCC Administrator [Tue, 1 Oct 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57681

21 years agoObjectInputStream.java (resolveProxyClass): New method from Classpath.
Tom Tromey [Tue, 1 Oct 2002 03:46:43 +0000 (03:46 +0000)]
ObjectInputStream.java (resolveProxyClass): New method from Classpath.

* java/io/ObjectInputStream.java (resolveProxyClass): New method
from Classpath.
* Makefile.in: Rebuilt.
* Makefile.am (rmi_java_source_files): Added new files.
* gnu/java/rmi/RMIMarshalledObjectInputStream.java,
gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
Classpath.
* gnu/java/rmi/dgc/DGCImpl.java,
gnu/java/rmi/dgc/DGCImpl_Skel.java,
gnu/java/rmi/dgc/DGCImpl_Stub.java,
gnu/java/rmi/registry/RegistryImpl_Skel.java,
gnu/java/rmi/registry/RegistryImpl_Stub.java,
gnu/java/rmi/server/RMIHashes.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/RMIObjectOutputStream.java,
gnu/java/rmi/server/UnicastConnection.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRef.java,
gnu/java/rmi/server/UnicastServer.java,
gnu/java/rmi/server/UnicastServerRef.java,
java/rmi/MarshalledObject.java,
java/rmi/server/RMIClassLoader.java,
java/rmi/server/RemoteObject.java,
java/rmi/server/UnicastRemoteObject.java,
java/security/SecureClassLoader.java: Merged from Classpath.

From-SVN: r57675

21 years agoffs-1.c: New test.
Jason Thorpe [Mon, 30 Sep 2002 21:43:01 +0000 (21:43 +0000)]
ffs-1.c: New test.

* gcc.c-torture/execute/ffs-1.c: New test.
* gcc.c-torture/execute/ffs-2.c: Ditto.

From-SVN: r57671

21 years agolonglong.h: Partially synchronize with GMP-4.1 version: Use i370 definitions also...
Ulrich Weigand [Mon, 30 Sep 2002 20:51:57 +0000 (20:51 +0000)]
longlong.h: Partially synchronize with GMP-4.1 version: Use i370 definitions also for s390.

* longlong.h: Partially synchronize with GMP-4.1 version:
Use i370 definitions also for s390.
Add generic definition of umul_ppmm in terms of smul_ppmm.
[s390] (umul_ppmm): Remove.
[s390] (smul_ppmm): Fix incorrect assembler constraints.
[s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.

From-SVN: r57670

21 years agoCanonicalize whitespace
Zack Weinberg [Mon, 30 Sep 2002 20:46:06 +0000 (20:46 +0000)]
Canonicalize whitespace

From-SVN: r57669

21 years agoxtensa.h (REG_CLASS_NAMES, [...]): Add new RL_REGS register class.
Bob Wilson [Mon, 30 Sep 2002 20:25:44 +0000 (20:25 +0000)]
xtensa.h (REG_CLASS_NAMES, [...]): Add new RL_REGS register class.

        * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
        Add new RL_REGS register class.
        (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
        Call xtensa_preferred_reload_class for both input and output reloads.
        * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
        (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
        instead of either AR_REGS or GR_REGS classes.
        (xtensa_secondary_reload_class): Use new RL_REGS class.
        * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.

From-SVN: r57666

21 years ago(BINUTILS_SUPPORT_DIRS): Add cpu directory.
Nick Clifton [Mon, 30 Sep 2002 20:00:34 +0000 (20:00 +0000)]
(BINUTILS_SUPPORT_DIRS): Add cpu directory.

From-SVN: r57665

21 years agopa.c (hppa_encode_label): Don't drop '*' from function labels.
John David Anglin [Mon, 30 Sep 2002 19:52:45 +0000 (19:52 +0000)]
pa.c (hppa_encode_label): Don't drop '*' from function labels.

* pa.c (hppa_encode_label): Don't drop '*' from function labels.
(pa_strip_name_encoding): Strip '@' and '*', in that order.
* pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
there is a '*' prefix in NAME.

From-SVN: r57664

21 years agoreload.c (push_reload): Handle subregs and secondary memory.
Jan Hubicka [Mon, 30 Sep 2002 19:35:17 +0000 (21:35 +0200)]
reload.c (push_reload): Handle subregs and secondary memory.

* reload.c (push_reload): Handle subregs and secondary memory.
* reload1.c (gen_reload): Likewise.

* jump.c (reg_or_subregno): New function.
* rtl.h (reg_or_subregno): Declare
* unroll.c (find_splittable_givs): Handle subregs.

From-SVN: r57663

21 years agotree.c (really_overloaded_fn): TEMPLATE_ID_EXPRs are also overloaded.
Nathan Sidwell [Mon, 30 Sep 2002 19:33:06 +0000 (19:33 +0000)]
tree.c (really_overloaded_fn): TEMPLATE_ID_EXPRs are also overloaded.

cp:
* tree.c (really_overloaded_fn): TEMPLATE_ID_EXPRs are also
overloaded.
testsuite:
* g++.dg/overload/member1.C: New test.

From-SVN: r57662

21 years agoclass.c (build_vtbl_initializer): Add cast.
Steve Ellcey [Mon, 30 Sep 2002 18:06:58 +0000 (18:06 +0000)]
class.c (build_vtbl_initializer): Add cast.

* class.c (build_vtbl_initializer): Add cast.
(add_vcall_offset_vtbl_entries_1):
Use TARGET_VTABLE_DATA_ENTRY_DISTANCE for offset.

From-SVN: r57659

21 years agoNew.
Richard Henderson [Mon, 30 Sep 2002 17:19:37 +0000 (10:19 -0700)]
New.

From-SVN: r57657

21 years agoMark PR.
Richard Henderson [Mon, 30 Sep 2002 17:18:51 +0000 (10:18 -0700)]
Mark PR.

From-SVN: r57656

21 years agoFix docs
Anthony Green [Mon, 30 Sep 2002 17:00:42 +0000 (17:00 +0000)]
Fix docs

From-SVN: r57655

21 years agostore-layout.c (finish_record_layout): Add free_p parameter.
Mark Mitchell [Mon, 30 Sep 2002 16:52:19 +0000 (16:52 +0000)]
store-layout.c (finish_record_layout): Add free_p parameter.

* store-layout.c (finish_record_layout): Add free_p parameter.
(layout_type): Pass it.
* tree.h (finish_record_layout): Update prototype.

* class.c (walk_subobject_offsets): Correct the calculation of
offsets for virtual bases.  Correct the counting of array
elements.
(layout_nonempty_base_or_field): Simplify.  Correct the
calculation of offsets to be propagated through the binfo
hierarchy.
(build_base_field): Avoid creating a FIELD_DECL for empty bases.
Add the FIELD_DECL to TYPE_FIELDS.
(build_base_fields): Adjust accordingly.
(layout_virtual_bases): Use build_base_field.
(end_of_class): Return a tree, not an integer.
(warn_about_ambiguous_direct_bases): Rename to ...
(warn_about_ambiguous_bases): ... this.
(include_empty_classes): New function.
(layout_class_type): Create an alternative version of the type to
be used when as a base class type.  Do not call
finish_record_layout until we are done laying out the class.
* cp-tree.h (lang_type_class): Remove size, size_unit.  Add
as_base.
(CLASSTYPE_SIZE): Reimplement.
(CLASSTYPE_SIZE_UNIT): Likewise.
(CLASSTYPE_ALIGN): Likweise.
(CLASSTYPE_USER_ALIGN): Likewise.
(CLASSTYPE_AS_BASE): New macro.
(DECL_INITIALIZED_P): Likewise.
(extract_init): Remove prototype.
(build_forced_zero_init): Rename to ...
(build_zero_init): ... this.
(force_store_init_value): Remove.
* decl.c (obscure_complex_init): Remove.
(duplicate_decls): Copy DECL_INITIALIZED_P.
(check_initializer): Do not leave junk in DECL_INITIAL.
(cp_finish_decl): Handle zero-initialization of entities with
static storage duration.
* expr.c (extract_init): Remove.
* init.c (build_forced_zero_init): Remove.
(build_zero_init): New function.
(build_default_init): Use it.
(build_field_list): Skip FIELD_DECLs for base subobjects.
(push_base_cleanups): Likewise.
* method.c (do_build_assign_ref): Likewise.
(synthesize_exception_spec): Likewise.
* pt.c (tsubst_decl): Clear DECL_INITIALIZED_P.
(regenerate_decl_from_template): To not set DECL_INITIAL for a
static data member whose initialization took place in its class.
(instantiate_decl): Do not pass an initializer to cp_finish_decl
in that situation.
* search.c (dfs_push_decls): Skip FIELD_DECLs for base subobjects.
(dfs_unuse_fields): Likewise.
* tree.c (pod_type_p): Handle error_mark_node.
(zero_init_p): Likewise.
* typeck.c (lookup_anon_field): Skip FIELD_DECLs for base
subobjects.
* typeck2.c (store_init_value): Remove #if 0'd code.
(force_store_init_value): Remove.
(process_init_constructor): Use build_zero_init.

* g++.dg/abi/empty7.C: New test.
* g++.dg/init/pm2.C: Likewise.

From-SVN: r57654

21 years agoAdd -fno-assert flag.
Anthony Green [Mon, 30 Sep 2002 14:57:43 +0000 (14:57 +0000)]
Add -fno-assert flag.

From-SVN: r57649

21 years agoi386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
Jan Hubicka [Mon, 30 Sep 2002 13:00:32 +0000 (15:00 +0200)]
i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.

* i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.

* gcse.c (cprop_jump): Check that the register has not
been modified
(cprop_jump): Likewise.

From-SVN: r57648

21 years ago* configure.in (s390*-*-linux*): Enable libgcj.
Ulrich Weigand [Mon, 30 Sep 2002 12:15:00 +0000 (12:15 +0000)]
* configure.in (s390*-*-linux*): Enable libgcj.

From-SVN: r57647

21 years agoconfigure.in: Add s390x-*-linux-* target.
Ulrich Weigand [Mon, 30 Sep 2002 11:59:42 +0000 (11:59 +0000)]
configure.in: Add s390x-*-linux-* target.

* configure.in: Add s390x-*-linux-* target.
* configure: Regenerate.
* include/ffi.h.in: Define S390X for s390x targets.
(FFI_CLOSURES): Define for s390/s390x.
(FFI_TRAMPOLINE_SIZE): Likewise.
(FFI_NATIVE_RAW_API): Likewise.
* src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
* src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
* src/s390/ffi.c: Major rework of existing code.  Add support for
s390x targets.  Add closure support.
* src/s390/sysv.S: Likewise.

From-SVN: r57646

21 years agoarm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
Richard Earnshaw [Mon, 30 Sep 2002 11:18:38 +0000 (11:18 +0000)]
arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.

* arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
(MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
that we have a SImode access, and only then if reload hasn't completed;
for all other cases, use LO_REGS.

From-SVN: r57644

21 years agoDaily bump.
GCC Administrator [Mon, 30 Sep 2002 07:17:22 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57643

21 years ago* real.c (real_from_string): Apply sign last. Tidy exponent handling.
Richard Henderson [Mon, 30 Sep 2002 06:04:16 +0000 (23:04 -0700)]
* real.c (real_from_string): Apply sign last.  Tidy exponent handling.

From-SVN: r57637

21 years agoAdd Proxy support.
Anthony Green [Mon, 30 Sep 2002 05:19:09 +0000 (05:19 +0000)]
Add Proxy support.

From-SVN: r57635

21 years agocombine.c (force_to_mode): Handle FLOAT_MODE destinations for CONST_INT.
Richard Henderson [Mon, 30 Sep 2002 03:26:47 +0000 (20:26 -0700)]
combine.c (force_to_mode): Handle FLOAT_MODE destinations for CONST_INT.

        * combine.c (force_to_mode): Handle FLOAT_MODE destinations
        for CONST_INT.

From-SVN: r57634

21 years agoreal.h (ibm_extended_format): Declare.
David Edelsohn [Sun, 29 Sep 2002 21:23:45 +0000 (21:23 +0000)]
real.h (ibm_extended_format): Declare.

        * real.h (ibm_extended_format): Declare.
        * real.c (encode_ibm_extended, decode_ibm_extended): New
        functions.

From-SVN: r57633

21 years agodarwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
Kaveh R. Ghazi [Sun, 29 Sep 2002 19:55:08 +0000 (19:55 +0000)]
darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.

* darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.

* ia64.c (ia64_hpux_asm_file_end): Const-ify.

From-SVN: r57632

21 years agore PR c++/7788 (g++-3.2 internal error: Segmentation fault)
Nathan Sidwell [Sun, 29 Sep 2002 18:27:02 +0000 (18:27 +0000)]
re PR c++/7788 (g++-3.2 internal error: Segmentation fault)

cp:
PR c++/7788
* rtti.c (unemitted_tinfo_decl_p): Check it has a field.
testsuite:
* g++.dg/rtti/crash1.C: New test.

From-SVN: r57630

21 years ago* expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
John David Anglin [Sun, 29 Sep 2002 18:25:20 +0000 (18:25 +0000)]
* expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.

From-SVN: r57629

21 years agosibcall-1.c, [...]: New tests.
Hans-Peter Nilsson [Sun, 29 Sep 2002 18:16:15 +0000 (18:16 +0000)]
sibcall-1.c, [...]: New tests.

* gcc.dg/sibcall-1.c, gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c,
gcc.dg/sibcall-4.c: New tests.

From-SVN: r57628

21 years ago* src/arm/sysv.S: Fix typo.
Richard Earnshaw [Sun, 29 Sep 2002 18:08:58 +0000 (18:08 +0000)]
* src/arm/sysv.S: Fix typo.

From-SVN: r57627

21 years agoconfigure: Revert accidentally applied changes.
Nathanael Nerode [Sun, 29 Sep 2002 16:11:24 +0000 (16:11 +0000)]
configure: Revert accidentally applied changes.

2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Revert accidentally applied changes.

From-SVN: r57626

21 years agoMakefile.tpl: Make more autoconf-friendly.
Nathanael Nerode [Sun, 29 Sep 2002 15:53:23 +0000 (15:53 +0000)]
Makefile.tpl: Make more autoconf-friendly.

2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make more autoconf-friendly.
* Makefile.in: Regenerate.
* configure: Make substitution more autoconf-like.

From-SVN: r57625

21 years agobuiltins.def: Fix comment formatting.
Kazu Hirata [Sun, 29 Sep 2002 13:16:44 +0000 (13:16 +0000)]
builtins.def: Fix comment formatting.

* builtins.def: Fix comment formatting.
* c-common.def: Likewise.
* cfgcleanup.c: Likewise.
* combine.c: Likewise.
* gengtype.c: Likewise.
* params.def: Likewise.
* predict.def: Likewise.
* rtl.def: Likewise.
* stab.def: Likewise.
* stor-layout.c: Likewise.
* tree.def: Likewise.
* config/darwin.c: Likewise.
* config/darwin.h: Likewise.
* config/dbxcoff.h: Likewise.
* config/elfos.h: Likewise.
* config/fp-bit.c: Likewise.
* config/freebsd-spec.h: Likewise.
* config/interix.h: Likewise.
* config/libgloss.h: Likewise.
* config/linux-aout.h: Likewise.
* config/linux.h: Likewise.
* config/lynx-ng.h: Likewise.
* config/lynx.h: Likewise.
* config/netbsd-aout.h: Likewise.
* config/netbsd.h: Likewise.
* config/netware.h: Likewise.
* config/psos.h: Likewise.
* config/ptx4.h: Likewise.

From-SVN: r57624

21 years agocp-tree.h: Fix comment typos.
Kazu Hirata [Sun, 29 Sep 2002 11:53:49 +0000 (11:53 +0000)]
cp-tree.h: Fix comment typos.

* cp-tree.h: Fix comment typos.
* decl.c: Likewise.
* pt.c: Likewise.

From-SVN: r57623

21 years agoDaily bump.
GCC Administrator [Sun, 29 Sep 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57622

21 years ago20020720-1.x: No longer skip test on powerpc and MMIX targets.
Roger Sayle [Sat, 28 Sep 2002 17:58:27 +0000 (17:58 +0000)]
20020720-1.x: No longer skip test on powerpc and MMIX targets.

* gcc.c-torture/execute/20020720-1.x: No longer skip test on
powerpc and MMIX targets.

From-SVN: r57616

21 years agoChangeLog.4: Fix typos.
Kazu Hirata [Sat, 28 Sep 2002 15:29:45 +0000 (15:29 +0000)]
ChangeLog.4: Fix typos.

* ChangeLog.4: Fix typos.
* ChangeLog.6: Likewise.
* FSFChangeLog.10: Likewise.
* genattrtab.c: Fix comment typos.
* haifa-sched.c: Likewise.
* real.c: Likewise.
* tree.h: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/crti.asm: Likewise.
* config/arm/crtn.asm: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.md: Likewise.
* config/h8300/h8300.md: Likewise.
* config/i386/rtemself.h: Likewise.
* config/ia64/unwind-ia64.c: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/m88k/m88k.c: Likewise.
* config/m88k/m88k.md: Likewise.
* config/mips/sr71k.md: Likewise.
* config/mmix/mmix.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/sh/sh.md: Likewise.

From-SVN: r57614

21 years agoavr.c: Eliminate use of _PC_ in pc relative insns.
Theodore A. Roth [Sat, 28 Sep 2002 14:14:12 +0000 (14:14 +0000)]
avr.c: Eliminate use of _PC_ in pc relative insns.

* config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
* config/avr/avr.md: Ditto.

From-SVN: r57613

21 years agoconfigure.in (arm-*-coff, [...]): Use a single entry to handle all these.
Richard Earnshaw [Sat, 28 Sep 2002 12:19:19 +0000 (12:19 +0000)]
configure.in (arm-*-coff, [...]): Use a single entry to handle all these.

* configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a
single entry to handle all these.
(arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise.  Also enable
libjava on arm-*-elf.

From-SVN: r57612

21 years agoconfigure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with a single configu...
Richard Earnshaw [Sat, 28 Sep 2002 12:15:18 +0000 (12:15 +0000)]
configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with a single configuration.

* configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
a single configuration.

From-SVN: r57611

21 years agogcconfig.h: Don't check for __XSCALE__.
Richard Earnshaw [Sat, 28 Sep 2002 12:12:36 +0000 (12:12 +0000)]
gcconfig.h: Don't check for __XSCALE__.

* include/private/gcconfig.h: Don't check for __XSCALE__.  Instead
check for __arm__ or __thumb__.

From-SVN: r57610

21 years agosysv.S: If we don't have machine/asm.h and the pre-processor has defined...
Richard Earnshaw [Sat, 28 Sep 2002 12:09:27 +0000 (12:09 +0000)]
sysv.S: If we don't have machine/asm.h and the pre-processor has defined...

* src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
has defined __USER_LABEL_PREFIX__, then use it in CNAME.
(ffi_call_SYSV): Handle soft-float.

From-SVN: r57609

21 years agoDaily bump.
GCC Administrator [Sat, 28 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57608

21 years agoconfigure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the things that depend...
Geoffrey Keating [Sat, 28 Sep 2002 01:43:37 +0000 (01:43 +0000)]
configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the things that depend on them.

* configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
things that depend on them.

From-SVN: r57602

21 years agore PR preprocessor/8055 (PATCH: cpp0 dies with SIG11 when building FreeBSD kernel)
Zack Weinberg [Sat, 28 Sep 2002 00:30:37 +0000 (00:30 +0000)]
re PR preprocessor/8055 (PATCH: cpp0 dies with SIG11 when building FreeBSD kernel)

2002-09-27  Alexander N. Kabaev <ak03@gte.com>

PR preprocessor/8055
* cppmacro.c (stringify_arg): Do not overflow the buffer
with the terminating NUL when the argument to be stringified
has no tokens.
* testsuite/gcc.dg/cpp/20020927-1.c: New.

From-SVN: r57599

21 years agolocale_facets.tcc (num_put::_M_widen_int): Deal correctly with grouped, showbased...
Paolo Carlini [Fri, 27 Sep 2002 23:08:22 +0000 (01:08 +0200)]
locale_facets.tcc (num_put::_M_widen_int): Deal correctly with grouped, showbased (oct or hex) zero.

2002-09-27  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Deal correctly with grouped, showbased (oct or hex) zero.
* testsuite/22_locale/num_put_members_char.cc: Add test05.
* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.

From-SVN: r57598

21 years agoFix comment typo.
Richard Henderson [Fri, 27 Sep 2002 22:59:29 +0000 (15:59 -0700)]
Fix comment typo.

From-SVN: r57597

21 years agounroll.c (simplify_cmp_and_jump_insns): New.
Richard Henderson [Fri, 27 Sep 2002 22:41:07 +0000 (15:41 -0700)]
unroll.c (simplify_cmp_and_jump_insns): New.

* unroll.c (simplify_cmp_and_jump_insns): New.
(unroll_loop): Use it.  Use simplify_gen_foo+force_operand
instead of expand_simple_foo.

From-SVN: r57596

21 years agostd_limits.h (numeric_limits<T>::is_iec559): False if denormals are not supported.
Richard Henderson [Fri, 27 Sep 2002 22:39:28 +0000 (15:39 -0700)]
std_limits.h (numeric_limits<T>::is_iec559): False if denormals are not supported.

        * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
        if denormals are not supported.

From-SVN: r57595

21 years ago* config/os/hpux/cpu_limits.h: Remove.
Richard Henderson [Fri, 27 Sep 2002 22:39:08 +0000 (15:39 -0700)]
* config/os/hpux/cpu_limits.h: Remove.

From-SVN: r57594

21 years agore PR rtl-optimization/7520 (internal compiler error in verify_local_live_at_start)
Richard Henderson [Fri, 27 Sep 2002 21:39:11 +0000 (14:39 -0700)]
re PR rtl-optimization/7520 (internal compiler error in verify_local_live_at_start)

        PR optimization/7520
        * cfganal.c (flow_active_insn_p): New.
        (forwarder_block_p): Use it.

From-SVN: r57593

21 years agogcconfig: Add machine type S390.
Ulrich Weigand [Fri, 27 Sep 2002 20:40:06 +0000 (20:40 +0000)]
gcconfig: Add machine type S390.

* include/private/gcconfig: Add machine type S390.  Add s390x support.
* include/private/gc_locks.h (GC_test_and_set): Implement for s390.
(GC_compare_and_exchange): Likewise.

From-SVN: r57592

21 years agoexpr.c (build_java_array_length_access): Check for null pointer.
Andrew Haley [Fri, 27 Sep 2002 18:27:44 +0000 (18:27 +0000)]
expr.c (build_java_array_length_access): Check for null pointer.

2002-09-26  Andrew Haley  <aph@redhat.com>

* expr.c (build_java_array_length_access): Check for null pointer.
* expr.c (expand_java_arrayload): Likewise.

From-SVN: r57591

21 years ago* emit-rtl.c (active_insn_p): Revert last change.
Richard Henderson [Fri, 27 Sep 2002 16:17:33 +0000 (09:17 -0700)]
* emit-rtl.c (active_insn_p): Revert last change.

From-SVN: r57590

21 years agoffi.h.in: Fix multilib x86-64 support.
Bo Thorsen [Fri, 27 Sep 2002 14:37:23 +0000 (14:37 +0000)]
ffi.h.in: Fix multilib x86-64 support.

2002-09-27  Bo Thorsen  <bo@suse.de>

        * include/ffi.h.in: Fix multilib x86-64 support.

From-SVN: r57589

21 years agoextend.texi (tls_model): Document.
Jakub Jelinek [Fri, 27 Sep 2002 13:30:10 +0000 (15:30 +0200)]
extend.texi (tls_model): Document.

* doc/extend.texi (tls_model): Document.
* varasm.c (decl_tls_model): New.
* c-common.c (handle_tls_model_attribute): New.
(c_common_attribute_table): Add tls_model.
* config/alpha/alpha.c (alpha_encode_section_info): Use
decl_tls_model.
* flags.h (enum tls_model, flag_tls_default): Move...
* tree.h (enum tls_model, flag_tls_default): ...here.
(decl_tls_model): New prototype.
* config/ia64/ia64.c (ia64_encode_section_info): Likewise.
* config/i386/i386.c (ix86_encode_section_info): Likewise.
* config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
Allow !flag_pic.

From-SVN: r57588

21 years agoLANGUAGES: Follow spelling conventions.
Kazu Hirata [Fri, 27 Sep 2002 12:48:07 +0000 (12:48 +0000)]
LANGUAGES: Follow spelling conventions.

* LANGUAGES: Follow spelling conventions.
* rtl.def: Likewise.
* sbitmap.c: Likewise.
* sched-int.h: Likewise.
* sched-rgn.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* stab.def: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* target.h: Likewise.
* timevar.c: Likewise.
* toplev.c: Likewise.
* tree-dump.c: Likewise.
* tree-inline.c: Likewise.
* tree.c: Likewise.
* tree.def: Likewise.
* tree.h: Likewise.
* unroll.c: Likewise.
* varasm.c: Likewise.
* vmsdbgout.c: Likewise.
* treelang/treelang.texi: Likewise.
* treelang/treetree.c: Likewise.

From-SVN: r57587

21 years agoh8300.c (compute_saved_regs): Use a macro instead of a hard register number.
Kazu Hirata [Fri, 27 Sep 2002 12:37:15 +0000 (12:37 +0000)]
h8300.c (compute_saved_regs): Use a macro instead of a hard register number.

* config/h8300/h8300.c (compute_saved_regs): Use a macro
instead of a hard register number.
(get_shift_alg): Use an enumerated type instead of numbers.
(h8300_shift_needs_scratch_p): Likewise.

From-SVN: r57586

21 years agoDaily bump.
GCC Administrator [Fri, 27 Sep 2002 07:18:01 +0000 (07:18 +0000)]
Daily bump.

From-SVN: r57585

21 years agotrunctfdf.c: New.
David S. Miller [Fri, 27 Sep 2002 04:14:12 +0000 (21:14 -0700)]
trunctfdf.c: New.

2002-09-26  David S. Miller  <davem@redhat.com>

* gcc.c-torture/compile/trunctfdf.c: New.

From-SVN: r57577

21 years agore PR rtl-optimization/7335 (Sparc: ICE in verify_wide_reg (flow.c:557) with long...
David S. Miller [Fri, 27 Sep 2002 04:12:51 +0000 (21:12 -0700)]
re PR rtl-optimization/7335 (Sparc: ICE in verify_wide_reg (flow.c:557) with long double and optimization)

2002-09-26  David S. Miller  <davem@redhat.com>

PR optimization/7335
* calls.c (emit_library_call_value_1): Passing args by reference
converts a CONST function into a PURE one.

From-SVN: r57576

21 years agodbxout.c (FORCE_TEXT): Switch to current_function_decl, not text_section.
David Edelsohn [Fri, 27 Sep 2002 03:08:38 +0000 (03:08 +0000)]
dbxout.c (FORCE_TEXT): Switch to current_function_decl, not text_section.

2002-09-26  David Edelsohn  <edelsohn@gnu.org>

        * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
        text_section.
        * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
        text section.
        * config/rs6000/rs6000.c (rs6000_override_options): Allow
        function-sections and data-sections functionality on AIX.

2002-09-26  David Edelsohn  <edelsohn@gnu.org>
            Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
        in RTL for sub-word loads from memory.

Co-Authored-By: Dale Johannesen <dalej@apple.com>
From-SVN: r57572

21 years ago* lib/target-supports.exp (check_weak_available): Handle solaris2.
Kaveh R. Ghazi [Fri, 27 Sep 2002 02:14:12 +0000 (02:14 +0000)]
* lib/target-supports.exp (check_weak_available): Handle solaris2.

From-SVN: r57571

21 years agosched-deps.c (sched_analyze_insn): Make clobber insns depend on call insns.
Richard Henderson [Fri, 27 Sep 2002 01:07:52 +0000 (18:07 -0700)]
sched-deps.c (sched_analyze_insn): Make clobber insns depend on call insns.

        * sched-deps.c (sched_analyze_insn): Make clobber insns depend
        on call insns.
* gcc.c-torture/compile/20020926-1.c: New.

From-SVN: r57566

21 years ago* emit-rtl.c (const_double_htab_eq): Remove unused variable.
Richard Henderson [Fri, 27 Sep 2002 00:51:58 +0000 (17:51 -0700)]
* emit-rtl.c (const_double_htab_eq): Remove unused variable.

From-SVN: r57565

21 years agossa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when handling undefined values.
Chris Lattner [Fri, 27 Sep 2002 00:50:50 +0000 (00:50 +0000)]
ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when handling undefined values.

        * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
        handling undefined values.

From-SVN: r57564

21 years agoMark PR.
Richard Henderson [Fri, 27 Sep 2002 00:28:54 +0000 (17:28 -0700)]
Mark PR.

From-SVN: r57562

21 years agoemit-rtl.c (active_insn_p): Consider a clobber of the function return value to be...
Richard Henderson [Fri, 27 Sep 2002 00:28:20 +0000 (17:28 -0700)]
emit-rtl.c (active_insn_p): Consider a clobber of the function return value to be active even after reload.

        * emit-rtl.c (active_insn_p): Consider a clobber of the
        function return value to be active even after reload.

From-SVN: r57561

21 years ago* gcc.c-torture/execute/loop-15.c: New.
Alan Modra [Thu, 26 Sep 2002 23:05:57 +0000 (23:05 +0000)]
* gcc.c-torture/execute/loop-15.c: New.

From-SVN: r57557

21 years agodoloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop...
Alan Modra [Thu, 26 Sep 2002 23:01:31 +0000 (23:01 +0000)]
doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop increment, not loop increment.

* doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
by absolute loop increment, not loop increment.

From-SVN: r57556

21 years agoc-common.h: Follow spelling conventions.
Kazu Hirata [Thu, 26 Sep 2002 22:25:14 +0000 (22:25 +0000)]
c-common.h: Follow spelling conventions.

* c-common.h: Follow spelling conventions.
* cpplex.c: Likewise.
* cpplib.h: Likewise.
* gthr-dce.h: Likewise.
* gthr-posix.h: Likewise.
* optabs.c: Likewise.
* output.h: Likewise.
* profile.c: Likewise.
* protoize.c: Likewise.
* ra-rewrite.c: Likewise.
* real.c: Likewise.
* recog.c: Likewise.
* reg-stack.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* reload.c: Likewise.
* reload.h: Likewise.
* reload1.c: Likewise.
* reorg.c: Likewise.
* resource.c: Likewise.
* rtl.h: Likewise.
* rtlanal.c: Likewise.

From-SVN: r57555

21 years agoia64.c (ia64_expand_load_address): Ensure correct mode for symbol address.
Steve Ellcey [Thu, 26 Sep 2002 21:50:42 +0000 (21:50 +0000)]
ia64.c (ia64_expand_load_address): Ensure correct mode for symbol address.

* config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
for symbol address.

From-SVN: r57554

21 years agoelf.h: Add HANDLE_SYSV_PRAGMA.
Eric Christopher [Thu, 26 Sep 2002 21:42:52 +0000 (21:42 +0000)]
elf.h: Add HANDLE_SYSV_PRAGMA.

2002-09-24  Eric Christopher  <echristo@redhat.com>

        * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
        * config/mips/elf64.h: Ditto.

From-SVN: r57553

21 years agoexcept.c (expand_builtin_extract_return_address): Handle case where Pmode != ptr_mode.
Eric Christopher [Thu, 26 Sep 2002 21:39:14 +0000 (21:39 +0000)]
except.c (expand_builtin_extract_return_address): Handle case where Pmode != ptr_mode.

2002-09-24  Eric Christopher  <echristo@redhat.com>

        * except.c (expand_builtin_extract_return_address): Handle case
where Pmode != ptr_mode.

From-SVN: r57552

21 years ago* config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
Steve Ellcey [Thu, 26 Sep 2002 21:34:46 +0000 (21:34 +0000)]
* config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New

From-SVN: r57551

21 years ago* config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
Steve Ellcey [Thu, 26 Sep 2002 21:30:17 +0000 (21:30 +0000)]
* config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.

From-SVN: r57550

21 years agocombine.c (simplify_set): Don't call to force_to_mode if size of integer type is...
Igor Shevlyakov [Thu, 26 Sep 2002 21:15:26 +0000 (21:15 +0000)]
combine.c (simplify_set): Don't call to force_to_mode if size of integer type is larger than...

        * combine.c (simplify_set): Don't call to force_to_mode if size
        of integer type is larger than HOST_BITS_PER_WIDE_INT.

From-SVN: r57549

21 years agoREADME.QMTEST: Fix typo.
Janis Johnson [Thu, 26 Sep 2002 19:49:48 +0000 (19:49 +0000)]
README.QMTEST: Fix typo.

2002-09-26  Janis Johnson  <janis187@us.ibm.com>

* README.QMTEST: Fix typo.

From-SVN: r57548

21 years agoMakefile.in (qmtest-g++): Fix file name.
Janis Johnson [Thu, 26 Sep 2002 19:29:29 +0000 (19:29 +0000)]
Makefile.in (qmtest-g++): Fix file name.

2002-09-26  Janis Johnson  <janis187@us.ibm.com>

* Makefile.in (qmtest-g++): Fix file name.

From-SVN: r57547

21 years ago* gcc.dg/20020926-1.c: New test.
Ulrich Weigand [Thu, 26 Sep 2002 18:26:08 +0000 (18:26 +0000)]
* gcc.dg/20020926-1.c: New test.

From-SVN: r57544

21 years agoexpr.c (expand_expr): Convert A - const to A + (-const) on RTX level, even for unsign...
Ulrich Weigand [Thu, 26 Sep 2002 18:23:55 +0000 (18:23 +0000)]
expr.c (expand_expr): Convert A - const to A + (-const) on RTX level, even for unsigned types.

* expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
A + (-const) on RTX level, even for unsigned types.

From-SVN: r57543

21 years agoreload.c (dup_replacements): New function.
Ulrich Weigand [Thu, 26 Sep 2002 18:21:10 +0000 (18:21 +0000)]
reload.c (dup_replacements): New function.

* reload.c (dup_replacements): New function.
(find_reloads): Use it to duplicate replacements at the top level
of match_dup operands.

From-SVN: r57542

21 years ago* v850.md ("length"): Change default value to 4.
Miles Bader [Thu, 26 Sep 2002 16:55:30 +0000 (16:55 +0000)]
* v850.md ("length"): Change default value to 4.

From-SVN: r57541

21 years agoChangeLog.1: Follow spelling conventions.
Kazu Hirata [Thu, 26 Sep 2002 12:29:45 +0000 (12:29 +0000)]
ChangeLog.1: Follow spelling conventions.

* ChangeLog.1: Follow spelling conventions.
* ChangeLog.4: Likewise.
* ChangeLog.6: Likewise.
* FSFChangeLog.11: Likewise.
* doc/cpp.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/tm.texi: Likewise.

From-SVN: r57539

21 years agoAdd x prefix to v850e case for handling --with-cpu=v850e.
Nick Clifton [Thu, 26 Sep 2002 10:42:04 +0000 (10:42 +0000)]
Add x prefix to v850e case for handling --with-cpu=v850e.

From-SVN: r57538

21 years agore PR target/7842 ([REGRESSION] sparc code gen bug)
David S. Miller [Thu, 26 Sep 2002 10:18:05 +0000 (03:18 -0700)]
re PR target/7842 ([REGRESSION] sparc code gen bug)

2002-09-25  David S. Miller  <davem@redhat.com>

PR target/7842
* config/sparc/sparc.c (set_extends): SImode ASHIFT does not
extend.

From-SVN: r57534

21 years agore PR target/7842 ([REGRESSION] sparc code gen bug)
David S. Miller [Thu, 26 Sep 2002 10:16:44 +0000 (03:16 -0700)]
re PR target/7842 ([REGRESSION] sparc code gen bug)

2002-09-25  David S. Miller  <davem@redhat.com>

PR target/7842
* gcc.c-torture/execute/shiftdi.c: New test.

From-SVN: r57533

21 years agogcc.exp (gcc_init): Use a filename for the testglue that is unique to the tool.
Richard Earnshaw [Thu, 26 Sep 2002 09:51:45 +0000 (09:51 +0000)]
gcc.exp (gcc_init): Use a filename for the testglue that is unique to the tool.

* lib/gcc.exp (gcc_init): Use a filename for the testglue that is
unique to the tool.
* lib/g77.exp (g77_init): Likewise.
* lib/g++.exp (g++_init): Likewise.
* lib/objc.exp (objc_init): Likewise.

From-SVN: r57532

21 years agoDaily bump.
GCC Administrator [Thu, 26 Sep 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57531

21 years agoMakefile.am (target_headers): Remove cpu_limits.h.
Benjamin Kosnik [Thu, 26 Sep 2002 05:25:14 +0000 (05:25 +0000)]
Makefile.am (target_headers): Remove cpu_limits.h.

2002-09-25  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am (target_headers): Remove cpu_limits.h.
* include/Makefile.in: Regenerate.
* configure.in (CPU_LIMITS_INC_SRCDIR): Remove
* configure: Regenerate.
* configure.target (CPULIMITS): Remove.

* include/std/std_limits.h: Remove cpu_limits.h include.

* config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
Remove.
* config/os/irix/irix6.5/os_defines.h
(__glibcpp_long_double_bits): Remove.
(__glibcpp_wchar_t_bits): Remove.
(__glibcpp_long_bits): Remove.
* config/os/irix/irix5.2/os_defines.h
(__glibcpp_long_double_bits): Remove.
(__glibcpp_long_bits): Remove.
* config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
* config/os/bsd/freebsd/os_defines.h:
(__glibcpp_long_double_bits): Remove.
* config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
(__glibcpp_wchar_t_is_signed): Remove.
(__glibcpp_long_bits): Remove.
* config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
(__glibcpp_long_double_bits): Remove.

* config/os/osf/osf5.0/cpu_limits.h: Remove.
* config/cpu/alpha/cpu_limits.h: Remove.
* config/cpu/arm/cpu_limits.h: Remove.
* config/cpu/cris/cpu_limits.h: Remove.
* config/cpu/generic/cpu_limits.h: Remove.
* config/cpu/generic/limits.h: Remove.
* config/cpu/ia64/cpu_limits.h: Remove.
* config/cpu/m68k/cpu_limits.h: Remove.
* config/cpu/mmix/cpu_limits.h: Remove.
* config/cpu/powerpc/cpu_limits.h: Remove.
* config/cpu/S390/cpu_limits.h: Remove.

From-SVN: r57524

21 years agoMove C++ specific ChangeLog entry for "cp_binding_level reorg" patch
Devang Patel [Thu, 26 Sep 2002 04:36:40 +0000 (21:36 -0700)]
Move C++ specific ChangeLog entry for "cp_binding_level reorg" patch
from Changelog into cp/Changelog

From-SVN: r57523

21 years agoMakefile.tpl: Make subsituted variables more autoconfy.
Nathanael Nerode [Thu, 26 Sep 2002 04:14:02 +0000 (04:14 +0000)]
Makefile.tpl: Make subsituted variables more autoconfy.

2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.
* configure: Make seds more autoconfy.

From-SVN: r57522