Richard Henderson [Wed, 2 Oct 2002 02:38:02 +0000 (19:38 -0700)]
real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
* real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
(real_to_hexadecimal): Likewise.
* print-rtl.c (print_rtx): If we are linked with real.c, don't
dump the XWINT fields of a floating point CONST_DOUBLE.
From-SVN: r57719
Richard Henderson [Wed, 2 Oct 2002 01:55:10 +0000 (18:55 -0700)]
Fix dg-options typo.
From-SVN: r57718
Mark Mitchell [Wed, 2 Oct 2002 01:16:22 +0000 (01:16 +0000)]
decl.c (cp_finish_decl): Make sure array types are laid out, even if the array bounds are unknown.
* decl.c (cp_finish_decl): Make sure array types are laid out,
even if the array bounds are unknown.
From-SVN: r57717
Phil Edwards [Wed, 2 Oct 2002 01:05:13 +0000 (01:05 +0000)]
Makefile.am (check-abi): Add @ to rule.
2002-10-01 Phil Edwards <pme@gcc.gnu.org>
* Makefile.am (check-abi): Add @ to rule.
* Makefile.in: Regenerated.
From-SVN: r57715
Jason Thorpe [Wed, 2 Oct 2002 00:57:53 +0000 (00:57 +0000)]
* config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
From-SVN: r57713
Steve Ellcey [Tue, 1 Oct 2002 22:47:09 +0000 (22:47 +0000)]
class.c (build_vtbl_initializer): Change build_c_cast to build1.
* cp/class.c (build_vtbl_initializer): Change build_c_cast
to build1.
From-SVN: r57712
Jason Thorpe [Tue, 1 Oct 2002 22:24:02 +0000 (22:24 +0000)]
Oops, this file missed in previous checkin.
2002-10-01 Matt Thomas <matt@3am-software.com>
Jason Thorpe <thorpej@wasabisystems.com>
* config.gcc (vax-*-netbsdelf*): Enable configuration.
* config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
if not already defined.
* config/vax/elf.h: New file.
* config/vax/netbsd-elf.h: New file.
* config/vax/vax.c: Include "debug.h".
(vax_output_function_prologue): Add dwarf2 support. Use
MAIN_NAME_P when checking for VMS_TARGET stack adjust.
* config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
(VAX_ISTREAM_SYNC): Remove.
(INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
(ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
and assemble_name.
(ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
(PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
(PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
(INCOMING_RETURN_ADDR_RTX): Define.
* config/vax/vax.md (VUNSPEC_BLOCKAGE)
(VUNSPEC_SYNC_ISTREAM): Define.
(blockage): Use VUNSPEC_BLOCKAGE.
(sync_istream): New insn.
2002-10-01 Richard Henderson <rth@redhat.com>
* config/vax/vax.md (call_pop, *call_pop, call_value_pop)
(*call_value_pop, call, call_value): Add dwarf2 EH support.
(*call): New insn.
From-SVN: r57711
Mark Mitchell [Tue, 1 Oct 2002 22:23:55 +0000 (22:23 +0000)]
* gcc.dg/empty1.C: Fix typo.
From-SVN: r57710
Richard Henderson [Tue, 1 Oct 2002 20:49:39 +0000 (13:49 -0700)]
calls.c (precompute_register_parameters): Force non-legitimate constants into pseudos.
* calls.c (precompute_register_parameters): Force non-legitimate
constants into pseudos.
* gcc.dg/tls/opt-3.c: New.
From-SVN: r57709
Nick Clifton [Tue, 1 Oct 2002 20:39:03 +0000 (20:39 +0000)]
(spe_evrlwi): Add missing third operand to assembler template.
From-SVN: r57707
Richard Henderson [Tue, 1 Oct 2002 20:24:52 +0000 (13:24 -0700)]
dwarf2out.c (loc_descriptor_from_tree): Relax requirement for TLS debug info to !DECL_EXTERNAL.
* dwarf2out.c (loc_descriptor_from_tree): Relax requirement
for TLS debug info to !DECL_EXTERNAL.
From-SVN: r57706
Jason Thorpe [Tue, 1 Oct 2002 20:16:04 +0000 (20:16 +0000)]
[multiple changes]
2002-10-01 Matt Thomas <matt@3am-software.com>
Jason Thorpe <thorpej@wasabisystems.com>
* config.gcc (vax-*-netbsdelf*): Enable configuration.
* config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
if not already defined.
* config/vax/elf.h: New file.
* config/vax/netbsd-elf.h: New file.
* config/vax/vax.c: Include "debug.h".
(vax_output_function_prologue): Add dwarf2 support. Use
MAIN_NAME_P when checking for VMS_TARGET stack adjust.
* config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
(VAX_ISTREAM_SYNC): Remove.
(INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
(ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
and assemble_name.
(ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
(PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
(PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
(INCOMING_RETURN_ADDR_RTX): Define.
* config/vax/vax.md (VUNSPEC_BLOCKAGE)
(VUNSPEC_SYNC_ISTREAM): Define.
(blockage): Use VUNSPEC_BLOCKAGE.
(sync_istream): New insn.
2002-10-01 Richard Henderson <rth@redhat.com>
* config/vax/vax.md (call_pop, *call_pop, call_value_pop)
(*call_value_pop, call, call_value): Add dwarf2 EH support.
(*call): New insn.
From-SVN: r57702
Nathan Sidwell [Tue, 1 Oct 2002 19:13:12 +0000 (19:13 +0000)]
jcf-dump.c (print_constant, [...]): Don't fall foul of type-based aliasing.
* jcf-dump.c (print_constant, case CONSTANT_float): Don't fall
foul of type-based aliasing.
From-SVN: r57699
Nathan Sidwell [Tue, 1 Oct 2002 19:11:07 +0000 (19:11 +0000)]
re PR c/8083 (GCC does not warn for aliasing violations)
PR c/8083
* c-typeck.c (build_c_cast): Warn about type punning which breaks
type based aliasing.
testsuite:
* gcc.dg/alias-1.c: New test.
From-SVN: r57698
Mark Mitchell [Tue, 1 Oct 2002 18:44:49 +0000 (18:44 +0000)]
stor-layout.c (update_alignment_for_field): New function.
* stor-layout.c (update_alignment_for_field): New function.
(place_union_field): Use it.
(place_field): Likewise.
* gcc.dg/empty1.C: New test.
From-SVN: r57697
Mark Mitchell [Tue, 1 Oct 2002 18:27:53 +0000 (18:27 +0000)]
decl.c (cp_finish_decl): Correct check for dynamic initialization of thread-local storage.
* decl.c (cp_finish_decl): Correct check for dynamic
initialization of thread-local storage.
* g++.dg/tls/init-2.C: Tweak error messages.
From-SVN: r57696
Mark Mitchell [Tue, 1 Oct 2002 18:27:33 +0000 (18:27 +0000)]
cp
From-SVN: r57695
Nathan Sidwell [Tue, 1 Oct 2002 18:10:04 +0000 (18:10 +0000)]
* gcc.c (cc1_options): Add space on -auxbase-strip.
From-SVN: r57694
Bo Thorsen [Tue, 1 Oct 2002 15:38:00 +0000 (15:38 +0000)]
* include/ffi.h.in: Fix i386 win32 compilation.
From-SVN: r57691
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
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
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
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
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
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
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
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
GCC Administrator [Tue, 1 Oct 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57681
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
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
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
Zack Weinberg [Mon, 30 Sep 2002 20:46:06 +0000 (20:46 +0000)]
Canonicalize whitespace
From-SVN: r57669
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
Nick Clifton [Mon, 30 Sep 2002 20:00:34 +0000 (20:00 +0000)]
(BINUTILS_SUPPORT_DIRS): Add cpu directory.
From-SVN: r57665
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
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
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
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
Richard Henderson [Mon, 30 Sep 2002 17:19:37 +0000 (10:19 -0700)]
New.
From-SVN: r57657
Richard Henderson [Mon, 30 Sep 2002 17:18:51 +0000 (10:18 -0700)]
Mark PR.
From-SVN: r57656
Anthony Green [Mon, 30 Sep 2002 17:00:42 +0000 (17:00 +0000)]
Fix docs
From-SVN: r57655
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
Anthony Green [Mon, 30 Sep 2002 14:57:43 +0000 (14:57 +0000)]
Add -fno-assert flag.
From-SVN: r57649
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
Ulrich Weigand [Mon, 30 Sep 2002 12:15:00 +0000 (12:15 +0000)]
* configure.in (s390*-*-linux*): Enable libgcj.
From-SVN: r57647
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
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
GCC Administrator [Mon, 30 Sep 2002 07:17:22 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57643
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
Anthony Green [Mon, 30 Sep 2002 05:19:09 +0000 (05:19 +0000)]
Add Proxy support.
From-SVN: r57635
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
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
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
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
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
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
Richard Earnshaw [Sun, 29 Sep 2002 18:08:58 +0000 (18:08 +0000)]
* src/arm/sysv.S: Fix typo.
From-SVN: r57627
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
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
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
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
GCC Administrator [Sun, 29 Sep 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57622
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
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
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
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
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
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
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
GCC Administrator [Sat, 28 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57608
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
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
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
Richard Henderson [Fri, 27 Sep 2002 22:59:29 +0000 (15:59 -0700)]
Fix comment typo.
From-SVN: r57597
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
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
Richard Henderson [Fri, 27 Sep 2002 22:39:08 +0000 (15:39 -0700)]
* config/os/hpux/cpu_limits.h: Remove.
From-SVN: r57594
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
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
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
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
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
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
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
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
GCC Administrator [Fri, 27 Sep 2002 07:18:01 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r57585
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
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
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
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
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
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
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
Richard Henderson [Fri, 27 Sep 2002 00:28:54 +0000 (17:28 -0700)]
Mark PR.
From-SVN: r57562
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
Alan Modra [Thu, 26 Sep 2002 23:05:57 +0000 (23:05 +0000)]
* gcc.c-torture/execute/loop-15.c: New.
From-SVN: r57557
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
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
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
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