1. 14 May, 2003 8 commits
    • target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define. · 18dbd950
      	* target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(TARGET_INITIALIZER): Include it.
      	* target.h (struct gcc_target): Add machine_dependent_reorg field.
      	* toplev.c (rest_of_compilation): Use targetm.machine_dependent_reorg.
      
      	* config/alpha/alpha-protos.h (alpha_reorg): Remove declaration.
      	* config/alpha/alpha.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/alpha/alpha.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(alpha_handle_trap_shadows): Remove "first insn" parameter.
      	(alpha_align_insns): Likewise.
      	(alpha_reorg): Likewise.  Make static.  Update calls to above
      	functions.
      
      	* config/arm/arm-protos.h (arm_reorg): Remove declaration.
      	* config/arm/arm.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/arm/arm.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(arm_reorg): Remove parameter.  Make static.
      
      	* config/avr/avr-protos.h (machine_dependent_reorg): Remove.
      	* config/avr/avr.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/avr/avr.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(avr_reorg): Renamed from machine_dependent_reorg.  Make static.
      	Remove parameter.
      
      	* config/c4x/c4x-protos.h (c4x_process_after_reload): Remove.
      	* config/c4x/c4x.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/c4x/c4x.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(c4x_reorg): Renamed from c4x_process_after_reload.  Make static.
      	Remove parameter.
      
      	* config/d30v/d30v-protos.h (d30v_machine_dependent_reorg): Remove.
      	* config/d30v/d30v.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/d30v/d30v.c (d30v_machine_dependent_reorg): Remove.
      
      	* config/frv/frv-protos.h (frv_machine_dependent_reorg): Remove.
      	* config/frv/frv.c: Remove orphaned comment.
      
      	* config/i386/i386-protos.h (x86_machine_dependent_reorg): Remove.
      	* config/i386/i386.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/i386/i386.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(ix86_reorg): Renamed from x86_machine_dependent_reorg.  Make static.
      	Remove parameter.
      
      	* config/ia64/ia64-protos.h (ia64_reorg): Remove declaration.
      	* config/ia64/ia64.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/ia64/ia64.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(emit_insn_group_barriers): Remove "first insn" parameter.
      	(emit_all_insn_group_barriers): Likewise.
      	(ia64_reorg): Likewise.  Make static.  Update calls to above functions.
      	(ia64_output_mi_thunk): Update call to emit_all_insn_group_barriers.
      
      	* config/ip2k/ip2k-protos.h (machine_dependent_reorg): Remove.
      	* config/ip2k/ip2k.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/ip2k/ip2k.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(ip2k_reorg): Renamed from machine_dependent_reorg.  Make static.
      	Remove parameter.
      
      	* config/m68hc11/m68hc11-protos.h (m68hc11_reorg): Remove declaration.
      	* config/m68hc11/m68hc11.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/m68hc11/m68hc11.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(m68hc11_reorg): Make static.  Remove parameter.
      
      	* config/mcore/mcore-protos.h (mcore_dependent_reorg): Remove.
      	* config/mcore/mcore.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/mcore/mcore.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(conditionalize_optimization): Remove parameter.
      	(mcore_reorg): Renamed from mcore_dependent_reorg.  Remove parameter.
      	Make static.  Update call to conditionalize_optimization.
      
      	* config/mips/mips-protos.h (machine_dependent_reorg): Remove.
      	* config/mips/mips.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/mips/mips.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(mips_reorg): Renamed from machine_dependent_reorg.  Remove parameter.
      	Make static.
      
      	* config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): Remove.
      	* config/mmix/mmix.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/mmix/mmix.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(mmix_reorg): Renamed from mmix_machine_dependent_reorg.  Make static.
      	Remove parameter.
      
      	* config/pa/pa-protos.h (pa_reorg): Remove declaration.
      	* config/pa/pa.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/pa/pa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(pa_combine_instructions): Remove "first insn" parameter.
      	(remove_useless_addtr_insns): Likewise.
      	(pa_reorg): Likewise.  Make static.  Update calls to above functions.
      
      	* config/rs6000/rs6000.h (MACHINE_DEPENDENT_REORG): Remove
      	commented-out definition.
      
      	* config/s390/s390-protos.h (s390_machine_dependent_reorg): Remove.
      	* config/s390/s390.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/s390/s390.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(s390_reorg): Renamed from s390_machine_dependent_reorg.  Make static.
      	Remove parameter.
      
      	* config/sh/sh-protos.h (machine_dependent_reorg): Remove.
      	* config/sh/sh.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/sh/sh.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(sh_reorg): Renamed from machine_dependent_reorg.  Make static.
      	Remove parameter.
      	(sh_output_mi_thunk): Call sh_reorg directly.
      	* config/sh/sh.md: Update comment.
      
      	* config/stormy16/stormy16.h (MACHINE_DEPENDENT_REORG): Remove
      	commented-out definition.
      
      	* config/v850/v850-protos.h (v850_reorg): Remove declaration.
      	* config/v850/v850.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/v850/v850.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(v850_reorg): Make static.  Remove parameter.
      
      	* config/xtensa/xtensa-protos.h (xtensa_reorg): Remove declaration.
      	* config/xtensa/xtensa.h (MACHINE_DEPENDENT_REORG): Remove.
      	* config/xtensa/xtensa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(xtensa_reorg): Make static.  Remove parameter.
      
      	* doc/tm.texi (MACHINE_DEPENDENT_REORG): Remove.
      	(TARGET_MACHINE_DEPENDENT_REORG): Document.
      
      From-SVN: r66800
      Richard Sandiford committed
    • 2003-05-14 Michael Koch <konqueror@gmx.de> · cc1b3d6b
      	* gnu/java/nio/FileLockImpl.java
      	(released): New member variable.
      	(FileLockImpl): Initialize released.
      	(releaseImpl): New native method.
      	(release): Implemented.
      	* gnu/java/nio/SelectorImpl.java: Reformatted.
      	* gnu/java/nio/SelectionKeyImpl.java: Reformatted.
      	* gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
      	(accept): Throws IOException.
      	* gnu/java/nio/SocketChannelImpl.java: Reformatted.
      	(implConfigureBlocking): Throws IOException.
      	(connect): Likewise.
      	(read): Likewise.
      	(write): Likewise.
      	* gnu/java/nio/natFileLockImpl.cc: New file.
      	* java/nio/channels/FileLock.java: Reformatted.
      	* Makefile.am:
      	(ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
      	(nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
      	* Makefile.in: Regenerated.
      
      From-SVN: r66799
      Michael Koch committed
    • c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if the old decl had instantiated DECL_RTL. · 2306d91c
              * c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
              the old decl had instantiated DECL_RTL.
      
      From-SVN: r66798
      Richard Henderson committed
    • copy_neg.cc: Remove excess errors dg marker, use dg-errors instead. · 979c310f
      
      2003-05-13  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
      	excess errors dg marker, use dg-errors instead.
      	* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
      	* testsuite/20_util/auto_ptr_neg.cc: Same.
      
      From-SVN: r66797
      Benjamin Kosnik committed
    • Daily bump. · 6092cf6a
      [[Split portion of a mixed commit.]]
      
      From-SVN: r66794.2
      GCC Administrator committed
    • Daily bump. · 171b9a56
      [[Split portion of a mixed commit.]]
      
      From-SVN: r66793.2
      GCC Administrator committed
    • sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect HOST_WIDE_INT argument. · 7aabff18
      2003-05-13  Janis Johnson  <janis187@us.ibm.com>
      
      	* config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect
      	HOST_WIDE_INT argument.
      
      From-SVN: r66790
      Janis Johnson committed
  2. 13 May, 2003 27 commits
  3. 12 May, 2003 5 commits
    • configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests. · c4501e62
      2003-05-12  Janis Johnson  <janis187@us.ibm.com>
      	    Alan Modra  <amodra@bigpond.net.au>
      	    Jakub Jelinek  <jakub@redhat.com>
      
      	* configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
      	* configure: Rebuild.
      	* config/rs6000/rs6000-protos.h: Update.
      	* config/rs6000/rs6000.c (rs6000_tls_size): New.
      	(rs6000_tls_size_string): New.
      	(rs6000_parse_tls_size_option): New.
      	(rs6000_legitimize_tls_address): New.
      	(rs6000_tls_get_addr): New.
      	(rs6000_got_sym): New.
      	(rs6000_tls_symbol_ref): New.
      	(rs6000_tls_symbol_ref_1): New.
      	(rs6000_get_some_local_dynamic_name): New.
      	(rs6000_get_some_local_dynamic_name_1): New.
      	(TARGET_HAVE_TLS): New.
      	(TARGET_CANNOT_FORCE_CONST_MEM): New.
      	(rs6000_override_options): Handle -mtls-size option.
      	(constant_pool_expr_1): Handle TLS symbols.
      	(rs6000_legitimize_address): Handle TLS symbols.
      	(rs6000_tls_referenced_p): New.
      	(rs6000_legitimate_address): Handle TLS symbols.
      	(rs6000_emit_move): Handle TLS symbols.
      	(print_operand): Handle TLS symbols.
      	(uses_TOC): Handle TLS symbols.
      	(rs6000_emit_prologue): Use symbol for unspec constant.
      	* config/rs6000/rs6000.h (HAVE_AS_TLS): New.
      	(some_ld_name): New.
      	(LEGITIMATE_CONSTANT_P): Handle TLS symbols.
      	(PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols.
      	(PREDICATE_CODES): Add rs6000_tls_symbol_ref.
      	* config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b):
      	Support TLS.
      	(tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32,
      	tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32,
      	tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32,
      	tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32,
      	tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32,
      	tls_tls_64): New.
      	* config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size.
      
      Co-Authored-By: Alan Modra <amodra@bigpond.net.au>
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r66742
      Janis Johnson committed
    • Makefile.in (stage2_build, [...]): Set BUILD_CC to the same as CC. · 6cfae22a
      	* Makefile.in (stage2_build, stage3_build, stage4_build)
      	: Set BUILD_CC to the same as CC.
      
      From-SVN: r66740
      Neil Booth committed
    • * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards. · 517958ba
      From-SVN: r66739
      Neil Booth committed
    • ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' as unused. · 74601584
      	* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
      	as unused.
      	(bundling): Initialize 'pos'.
      	(ia64_expand_builtin): Initialize 'rmode'.
      
      From-SVN: r66738
      Andreas Schwab committed