Commit Graph

45413 Commits

Author SHA1 Message Date
Nathanael Nerode 6a8a90589c Makefile.tpl: Eliminate reference to all-gui, all-libproc.
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
	* Makefile.in: Regenerate.

From-SVN: r57746
2002-10-02 19:12:43 +00:00
Roger Sayle f963b5d977 re PR rtl-optimization/6627 (-fno-align-functions regression from 2.95)
PR optimization/6627
	* toplev.c (force_align_functions_log): New global variable.
	* flags.h (force_align_functions_log): Add extern prototype.
	* varasm.c (assemble_start_function): Use it to force minimum
	function alignment.
	* config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
	minimum function alignment to one byte.
	(TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
	the least significant bit of vtable member function pointers.
	* tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
	here from cp/cp-tree.h.

	* cp/cp-tree.h (enum ptrmemfunc_vbit_where_t): Delete definition
	from here, and move it to tree.h.
	* cp/decl.c (cxx_init_decl_processing): If storing the vbit
	in function pointers, ensure that force_align_functions_log
	is atleast one.

	* java/lang.c (java_init): If storing the vbit in function
	pointers, ensure that force_align_functions_log is atleast
	one to aid compatability with g++ vtables.

From-SVN: r57745
2002-10-02 18:46:45 +00:00
Zack Weinberg 327d975a3a MAINTAINERS: Add myself and Nathan Sidwell <nathan@codesourcery.com> as VxWorks maintainers.
* MAINTAINERS: Add myself and Nathan Sidwell
	<nathan@codesourcery.com> as VxWorks maintainers.

From-SVN: r57743
2002-10-02 17:51:40 +00:00
Andreas Jaeger 3a3f686886 baseline_symbols.txt: New file.
* config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
	New file.

From-SVN: r57742
2002-10-02 18:46:38 +02:00
Matt Austern 0246d49e5b decl.c (walk_vtables_r): Fixed typo that caused result to never get a nonzero value.
* cp/decl.c (walk_vtables_r): Fixed typo that caused result to
	never get a nonzero value.

From-SVN: r57741
2002-10-02 16:00:33 +00:00
Jan Hubicka 200bcf7efc i386.c (print_operand_address): Use RIP addressing for offsetted label refs too.
* i386.c (print_operand_address): Use RIP addressing for offsetted
	label refs too.

From-SVN: r57740
2002-10-02 15:02:50 +00:00
Andreas Jaeger e5ec43ac7b Enable tests on x86-64.
From-SVN: r57737
2002-10-02 10:26:51 +02:00
GCC Administrator 7217543f1e Daily bump.
From-SVN: r57736
2002-10-02 07:17:13 +00:00
Nathanael Nerode a5ae8f192b Fix bogus date.
From-SVN: r57730
2002-10-02 06:27:54 +00:00
Nathanael Nerode f5e0c73c6c Makefile.def: Remove order dependency comments.
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.def: Remove order dependency comments.
	* Makefile.tpl: Add explicit install-install dependencies.
	* Makefile.in: Regenerate.

From-SVN: r57729
2002-10-02 06:27:24 +00:00
Andreas Jaeger eae853b7d5 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
From-SVN: r57728
2002-10-02 08:25:37 +02:00
Nathanael Nerode 34c6040cc2 Makefile.tpl: Remove material now in src-release.
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Remove material now in src-release.  (Finally!)

	* Makefile.in: Regenerate.

From-SVN: r57727
2002-10-02 06:22:33 +00:00
Andreas Jaeger af50f4c807 * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
From-SVN: r57726
2002-10-02 08:21:54 +02:00
Nathanael Nerode 39a744bbe4 Really this time. :sigh:
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Add configure-target (for src-release in src)
	* Makefile.in: Regenerate.

From-SVN: r57725
2002-10-02 05:14:00 +00:00
Nathanael Nerode d0f6c8235e Makefile.tpl: Add configure-target (for src-release in src)
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Add configure-target (for src-release in src)
	* Makefile.in: Regenerate.

From-SVN: r57724
2002-10-02 05:11:25 +00:00
David S. Miller 88d0be174e re PR middle-end/7151 ([sparc] ICE when compiling for UltraSPARC)
2002-09-30  David S. Miller  <davem@redhat.com>

	PR middle-end/7151
	* config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
	(movdi reg/reg split): Match only on sparc32, and v9 when int regs.

From-SVN: r57723
2002-10-01 20:49:09 -07:00
Roger Sayle f10aac290a * unroll.c (loop_iterations): Revert 2002-09-08 change.
From-SVN: r57720
2002-10-02 02:48:10 +00:00
Richard Henderson 69bd00e681 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
2002-10-01 19:38:02 -07:00
Richard Henderson ebc4cdc135 Fix dg-options typo.
From-SVN: r57718
2002-10-01 18:55:10 -07:00
Mark Mitchell d881ff2579 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
2002-10-02 01:16:22 +00:00
Phil Edwards db1a6d8676 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
2002-10-02 01:05:13 +00:00
Jason Thorpe 3b5742ab58 * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
From-SVN: r57713
2002-10-02 00:57:53 +00:00
Steve Ellcey 2e88ae2267 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
2002-10-01 22:47:09 +00:00
Jason Thorpe b6aa31c56a 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
2002-10-01 22:24:02 +00:00
Mark Mitchell a1d1a0f9b0 * gcc.dg/empty1.C: Fix typo.
From-SVN: r57710
2002-10-01 22:23:55 +00:00
Richard Henderson fd1e5d25e3 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
2002-10-01 13:49:39 -07:00
Nick Clifton 78872ad9bd (spe_evrlwi): Add missing third operand to assembler template.
From-SVN: r57707
2002-10-01 20:39:03 +00:00
Richard Henderson 3c655f42e4 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
2002-10-01 13:24:52 -07:00
Jason Thorpe ec20cffb2e [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
2002-10-01 20:16:04 +00:00
Nathan Sidwell 6f7e9e9449 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
2002-10-01 19:13:12 +00:00
Nathan Sidwell 73a7376815 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
2002-10-01 19:11:07 +00:00
Mark Mitchell 0645ba8f0b 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
2002-10-01 18:44:49 +00:00
Mark Mitchell b4c20e524c 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
2002-10-01 18:27:53 +00:00
Mark Mitchell 871e97f720 cp
From-SVN: r57695
2002-10-01 18:27:33 +00:00
Nathan Sidwell f7e466a3fe * gcc.c (cc1_options): Add space on -auxbase-strip.
From-SVN: r57694
2002-10-01 18:10:04 +00:00
Bo Thorsen 5d2975841c * include/ffi.h.in: Fix i386 win32 compilation.
From-SVN: r57691
2002-10-01 17:38:00 +02:00
Jim Wilson bc9ec51b0b Don't let regrename clobber the link register.
* config/v850/v850.h (EPILOGUE_USES): Define.

From-SVN: r57689
2002-10-01 06:48:20 -07:00
Andrew Haley a646f6ccc1 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
2002-10-01 12:19:36 +00:00
Richard Sandiford 3f7967e390 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
2002-10-01 10:26:09 +00:00
Richard Sandiford 41f9efba65 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
2002-10-01 10:23:52 +00:00
Richard Sandiford 366356d3e6 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
2002-10-01 10:22:07 +00:00
Richard Sandiford 8ab907e87c 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
2002-10-01 10:20:33 +00:00
Richard Sandiford d12b8c85a9 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
2002-10-01 10:14:35 +00:00
Bo Thorsen 73bff06445 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
2002-10-01 11:02:08 +02:00
GCC Administrator fac3fa281d Daily bump.
From-SVN: r57681
2002-10-01 07:17:08 +00:00
Tom Tromey d74732f5cd 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
2002-10-01 03:46:43 +00:00
Jason Thorpe e3e3815b7f 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
2002-09-30 21:43:01 +00:00
Ulrich Weigand 7e76567593 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
2002-09-30 20:51:57 +00:00
Zack Weinberg 92e89ef0ae Canonicalize whitespace
From-SVN: r57669
2002-09-30 20:46:06 +00:00
Bob Wilson 89f6025db0 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
2002-09-30 20:25:44 +00:00