aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-10-01flow.c (insn_dead_p): When using non-call-exceptions, don't eliminate insns ↵Andrew Haley3-1/+13
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
2002-10-01mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.Richard Sandiford4-12/+19
* 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
2002-10-01mips.c (PROCESSOR_R4320, [...]): Remove.Richard Sandiford4-44/+38
* 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
2002-10-01mips.c (mips16_strings): New variable.Richard Sandiford2-1/+29
* 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
2002-10-01mips.md (bunge, [...]): New define_expands.Richard Sandiford5-33/+89
[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
2002-10-01mips-protos.h (mips_emit_fcc_reload): Declare.Richard Sandiford5-60/+84
* 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
2002-10-01locks.h (compare_and_swap): Fix multilib support.Bo Thorsen2-0/+11
2002-09-30 Bo Thorsen <bo@suse.de> * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support. From-SVN: r57682
2002-10-01Daily bump.GCC Administrator2-2/+2
From-SVN: r57681
2002-10-01ObjectInputStream.java (resolveProxyClass): New method from Classpath.Tom Tromey28-159/+1178
* 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
2002-09-30ffs-1.c: New test.Jason Thorpe3-0/+61
* gcc.c-torture/execute/ffs-1.c: New test. * gcc.c-torture/execute/ffs-2.c: Ditto. From-SVN: r57671
2002-09-30longlong.h: Partially synchronize with GMP-4.1 version: Use i370 definitions ↵Ulrich Weigand2-28/+34
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
2002-09-30Canonicalize whitespaceZack Weinberg1-3/+3
From-SVN: r57669
2002-09-30xtensa.h (REG_CLASS_NAMES, [...]): Add new RL_REGS register class.Bob Wilson4-18/+39
* 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
2002-09-30(BINUTILS_SUPPORT_DIRS): Add cpu directory.Nick Clifton2-1/+5
From-SVN: r57665
2002-09-30pa.c (hppa_encode_label): Don't drop '*' from function labels.John David Anglin3-7/+20
* 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
2002-09-30reload.c (push_reload): Handle subregs and secondary memory.Jan Hubicka6-12/+37
* 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
2002-09-30tree.c (really_overloaded_fn): TEMPLATE_ID_EXPRs are also overloaded.Nathan Sidwell4-3/+35
cp: * tree.c (really_overloaded_fn): TEMPLATE_ID_EXPRs are also overloaded. testsuite: * g++.dg/overload/member1.C: New test. From-SVN: r57662
2002-09-30class.c (build_vtbl_initializer): Add cast.Steve Ellcey2-2/+12
* class.c (build_vtbl_initializer): Add cast. (add_vcall_offset_vtbl_entries_1): Use TARGET_VTABLE_DATA_ENTRY_DISTANCE for offset. From-SVN: r57659
2002-09-30New.Richard Henderson1-0/+10
From-SVN: r57657
2002-09-30Mark PR.Richard Henderson1-0/+1
From-SVN: r57656
2002-09-30Fix docsAnthony Green2-1/+4
From-SVN: r57655
2002-09-30store-layout.c (finish_record_layout): Add free_p parameter.Mark Mitchell18-462/+629
* 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
2002-09-30Add -fno-assert flag.Anthony Green8-5/+52
From-SVN: r57649
2002-09-30i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.Jan Hubicka3-2/+21
* 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
2002-09-30* configure.in (s390*-*-linux*): Enable libgcj.Ulrich Weigand2-4/+4
From-SVN: r57647
2002-09-30configure.in: Add s390x-*-linux-* target.Ulrich Weigand8-636/+1030
* 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
2002-09-30arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.Richard Earnshaw2-6/+15
* 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
2002-09-30Daily bump.GCC Administrator2-2/+2
From-SVN: r57643
2002-09-29* real.c (real_from_string): Apply sign last. Tidy exponent handling.Richard Henderson2-18/+25
From-SVN: r57637
2002-09-30Add Proxy support.Anthony Green20-235/+2250
From-SVN: r57635
2002-09-29combine.c (force_to_mode): Handle FLOAT_MODE destinations for CONST_INT.Richard Henderson2-2/+15
* combine.c (force_to_mode): Handle FLOAT_MODE destinations for CONST_INT. From-SVN: r57634
2002-09-29real.h (ibm_extended_format): Declare.David Edelsohn3-0/+100
* real.h (ibm_extended_format): Declare. * real.c (encode_ibm_extended, decode_ibm_extended): New functions. From-SVN: r57633
2002-09-29darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.Kaveh R. Ghazi3-4/+10
* darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype. * ia64.c (ia64_hpux_asm_file_end): Const-ify. From-SVN: r57632
2002-09-29re PR c++/7788 (g++-3.2 internal error: Segmentation fault)Nathan Sidwell4-3/+24
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
2002-09-29* expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.John David Anglin2-26/+19
From-SVN: r57629
2002-09-29sibcall-1.c, [...]: New tests.Hans-Peter Nilsson5-0/+229
* 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
2002-09-29* src/arm/sysv.S: Fix typo.Richard Earnshaw2-1/+5
From-SVN: r57627
2002-09-29configure: Revert accidentally applied changes.Nathanael Nerode2-49/+101
2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org> * configure: Revert accidentally applied changes. From-SVN: r57626
2002-09-29Makefile.tpl: Make more autoconf-friendly.Nathanael Nerode4-105/+58
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
2002-09-29builtins.def: Fix comment formatting.Kazu Hirata29-96/+127
* 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
2002-09-29cp-tree.h: Fix comment typos.Kazu Hirata4-6/+12
* cp-tree.h: Fix comment typos. * decl.c: Likewise. * pt.c: Likewise. From-SVN: r57623
2002-09-29Daily bump.GCC Administrator2-2/+2
From-SVN: r57622
2002-09-2820020720-1.x: No longer skip test on powerpc and MMIX targets.Roger Sayle2-3/+7
* gcc.c-torture/execute/20020720-1.x: No longer skip test on powerpc and MMIX targets. From-SVN: r57616
2002-09-28ChangeLog.4: Fix typos.Kazu Hirata23-31/+56
* 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
2002-09-28avr.c: Eliminate use of _PC_ in pc relative insns.Theodore A. Roth3-47/+51
* config/avr/avr.c: Eliminate use of _PC_ in pc relative insns. * config/avr/avr.md: Ditto. From-SVN: r57613
2002-09-28configure.in (arm-*-coff, [...]): Use a single entry to handle all these.Richard Earnshaw2-12/+13
* 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
2002-09-28configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with a ↵Richard Earnshaw2-10/+15
single configuration. * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with a single configuration. From-SVN: r57611
2002-09-28gcconfig.h: Don't check for __XSCALE__.Richard Earnshaw2-1/+6
* include/private/gcconfig.h: Don't check for __XSCALE__. Instead check for __arm__ or __thumb__. From-SVN: r57610
2002-09-28sysv.S: If we don't have machine/asm.h and the pre-processor has defined...Richard Earnshaw2-0/+21
* 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
2002-09-28Daily bump.GCC Administrator2-2/+2
From-SVN: r57608