1. 06 May, 2005 11 commits
    • mcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as appropriate. · 6e1f65b5
      	* config/mcore/mcore.c (mcore_print_operand_address): Use
      	gcc_assert and gcc_unreachable as appropriate.
      	(mcore_print_operand, mcore_gen_compare_reg, mcore_output_call,
      	mcore_output_andn, output_inline_const, mcore_output_move,
      	mcore_output_movedouble, mcore_expand_block_move,
      	layout_mcore_frame, mcore_initial_elimination_offset,
      	mcore_expand_prolog, mcore_mark_dllexport,
      	mcore_mark_dllimport): Likewise.
      	* config/mcore/mcore.h (switch_to_section): Likewise.
      	* config/mcore/mcore.md: Likewise.
      
      From-SVN: r99315
      Nathan Sidwell committed
    • linux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL. · 858081ad
      	* config/rs6000/linux64.h: Remove MASK_PROFILE_KERNEL, and
      	TARGET_PROFILE_KERNEL.
      
      	* config/rs6000/rs6000.c (output_profile_hook): Add comment to
      	TARGET_PROFILE_KERNEL use.
      
      From-SVN: r99314
      Aldy Hernandez committed
    • m32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as appropriate. · 75c3cfba
      	* config/m32r/m32r.c (m32r_encode_section_info): Use gcc_assert
      	and gcc_unreachable, as appropriate.
      	(gen_compare, gen_split_move_double, m32r_setup_incoming_varargs,
      	m32r_expand_prologue, m32r_output_function_epilogue,
      	m32r_legitimize_pic_address, m32r_print_operand_address,
      	emit_cond_move, m32r_function_symbol,
      	m32r_output_block_move): Likewise.
      	* config/m32r/m32r.h (INITIAL_ELIMINATION_OFFSET): Likewise.
      	* config/m32r/m32r.md (	*movsi_insn, *zero_branch_insn,
      	*rev_zero_branch_insn): Likewise.
      
      From-SVN: r99309
      Nathan Sidwell committed
    • re PR c++/20961 (ICE on pragma weak/__attribute__((weak))) · 46fb43a7
      	PR c++/20961
      	* varasm.c (merge_weak): Remove NEWDECL from WEAK_DECLS chain
      	if both NEWDECL and OLDDECL are already weak.
      
      	* g++.dg/ext/weak3.C: New test.
      
      From-SVN: r99306
      Jakub Jelinek committed
    • 2005-05-06 Michael Koch <konqueror@gmx.de> · 8e111a2b
      	* java/awt/BufferCapabilities.java
      	(BufferCapabilities): Merged javadoc.
      
      From-SVN: r99304
      Michael Koch committed
    • 2005-05-06 Michael Koch <konqueror@gmx.de> · cb881fb1
      	* java/util/Locale.java
      	(defaultLocale): Use gnu.classpath.SystemProperties to get properties.
      	(getLocale): New methods. Use it everywhere where instances of Locales
      	are needed.
      	(getDisplayLanguage): Merged javadoc.
      	(getDisplayCountry): Likewise.
      	(getDisplayVariant): Likewise.
      
      From-SVN: r99303
      Michael Koch committed
    • gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid… · 8108f998
      gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid exhausting local native references.
      
      2005-05-06  Archie Cobbs  <archie@dellroad.org>
      
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
      	use DeleteLocalRef() to avoid exhausting local native references.
      
      From-SVN: r99302
      Archie Cobbs committed
    • [multiple changes] · 9b8d7b42
      2005-05-06  Mark Wielaard  <mark@klomp.org>
      
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
      	(window_delete_cb): Don't use C++ style comments.
      
      2005-05-06  Robert Schuster  <thebohemian@gmx.net>
      
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
      	copyright header.
      
      2005-05-06  Robert Schuster  <thebohemian@gmx.net>
      
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
      	(window_delete_cb): Made the function return TRUE.
      
      From-SVN: r99301
      Michael Koch committed
    • 2005-05-06 Roman Kennke <roman@kennke.org> · 9dc83af9
      	* javax/swing/text/PlainView.java
      	(drawUnselectedText): Call Utilities.drawTabbedText() with correct
      	offset parameter.
      	* javax/swing/text/Utilities.java
      	(drawTabbedText): Initilialize local variable pos correctly.
      
      2005-05-06  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/AbstractDocument.java
      	(LeafElement): Made start and end package private fields for
      	effective reindexing.
      	* javax/swing/text/PlainDocument.java
      	(constructor): The field rootElement is always BranchElement,
      	so we handle it as such.
      	(removeUpdate): Rewritten reindexing for removeUpdate so that
      	the actual removal is taken into account.
      
      2005-05-06  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/GapContent.java:
      	Removed debugging output stuff, which I accidentally left in.
      
      2005-05-06  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/GapContent.java:
      	Implemented a real GapContent. Only the public methods have
      	been implemented so far and still no UndoableEdit support.
      
      From-SVN: r99300
      Roman Kennke committed
    • Daily bump. · 876f4e19
      [[Split portion of a mixed commit.]]
      
      From-SVN: r99296.2
      GCC Administrator committed
  2. 05 May, 2005 29 commits
    • Update ChangeLog to reflect darwin.opt translation. · 7e339111
      From-SVN: r99291
      David Edelsohn committed
    • decl2.c (deferred_fns, [...]): Use VEC instead of VARRAY. · 125121e2
      	* decl2.c (deferred_fns, note_vague_linkage_fn,
      	cp_finish_file): Use VEC instead of VARRAY.
      
      From-SVN: r99290
      Kazu Hirata committed
    • darwin.opt translation · bd96cd55
      From-SVN: r99289
      David Edelsohn committed
    • sh.c (sh_builtin_saveregs): Use copy_to_mode_reg and plus_constant. · 7d9c5aa1
      	* config/sh/sh.c (sh_builtin_saveregs): Use copy_to_mode_reg
      	and plus_constant.
      
      Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org>
      
      From-SVN: r99287
      J"orn Rennecke committed
    • config.gcc: Add .opt magic for the rs6000 ports. · 78f5898b
      2005-05-05  Aldy Hernandez  <aldyh@redhat.com>
      
              * config.gcc: Add .opt magic for the rs6000 ports.
      
              * doc/invoke.texi: Document -mabi= option properly.  Document
              -misel and -mno-sel.  Document -mspe and -mno-spe.  Document
              -mvrsave and -mno-vrsave.  Document deprecation of -mspe= and
              -misel=.
      
              * config/rs6000/aix.h: Remove XL_COMPAT stuff.  Remove
              SUBTARGET_SWITCHES and SUBSUBTARGET_SWITCHES.  Define
              TARGET_XL_COMPAT.
      
              * config/rs6000/aix.opt: New.
              * config/rs6000/aix41.opt: New.
              * config/rs6000/aix64.opt: New.
              * config/rs6000/darwin.opt: New.
              * config/rs6000/linux64.opt: New.
              * config/rs6000/rs6000.opt: New.
              * config/rs6000/sysv4.opt: New.
      
              * config/rs6000/sysv4.h: Delete definitions of MASK_* and
              associated TARGET_*.  Remove SUBTARGET_OPTIONS,
              SUBTARGET_SWITCHES.
              Define TARGET_USES_SYSV4_OPT.
              * config/rs6000/aix41.h: Remove SUBSUBTARGET_SWITCHES.
              * config/rs6000/aix43.h: Remove SUBSUBTARGET_SWITCHES.  Define
              TARGET_USES_AIX64_OPT.
              * config/rs6000/aix51.h: Same.
              * config/rs6000/aix52.h: Same.
              * config/rs6000/darwin.h: Remove
              SUBTARGET_SWITCHES.  Use TARGET_ALTIVEC_VRSAVE instead of
              rs6000_altivec_vrsave.
              * config/rs6000/linux64.h: Use
              rs6000_explicit_options.  Remove EXTRA_SUBTARGET_SWITCHES.
      
              * config/rs6000/rs6000.c: Remove definitions of
              rs6000_sched_restricted_insns_priority,
              rs6000_long_double_size_string, rs6000_altivec_vrsave,
              rs6000_altivec_vrsave_string, rs6000_isel, rs6000_spe,
              rs6000_float_gprs_string, rs6000_isel_string, rs6000_spe_string,
              rs6000_abi_string, rs6000_warn_altivec_long, rs6000_longcall,
              rs6000_alignment_string.  Define rs6000_explicit_options.
              (rs6000_parse_abi_options): Remove.
              (rs6000_parse_alignment_option): Remove.
              (rs6000_parse_float_gprs_option): Remove.
              (rs6000_handle_option): New.  Define TARGET_HANDLE_OPTION.  Define
              TARGET_DEFAULT_TARGET_FLAGS.
              (rs6000_override_options): Revamp to use new .opt machinery.
      
              * config/rs6000/rs6000.h: Remove old MASK_* and TARGET_* in favor
              of new .opt machinery.  Remove target_flags.  Redefine
              TARGET_MFCRF and TARGET_POWERPC64.  Remove TARGET_SWITCHES,
              SUBTARGET_SWITCHES, TARGET_OPTIONS, SUBTARGET_OPTIONS,
              rs6000_float_gprs_string, rs6000_isel_string, rs6000_spe_string,
              rs6000_altivec_vrsave_string, rs6000_altivec_vrsave,
              rs6000_longcall_switch, rs6000_default_long_calls,
              rs6000_sched_costly_dep_str, rs6000_sched_costly_dep,
              rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch, and
              TARGET_ALTIVEC_VRSAVE.
      
      From-SVN: r99284
      Aldy Hernandez committed
    • config.gcc (hppa1.1-*-rtems*): Remove. · 7f9a7fc3
      2005-05-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
      
      	* config.gcc (hppa1.1-*-rtems*): Remove.
      	* config/pa/rtems.h: Remove.
      
      From-SVN: r99282
      Ralf Corsepius committed
    • re PR c++/21352 (ICE with passing template function type as template type) · 2226e997
      	PR c++/21352
      	* pt.c (build_non_dependent_expr): Use is_overloaded_fn.
      
      	PR c++/21352
      	* g++.dg/template/crash37.C: New test.
      
      From-SVN: r99281
      Mark Mitchell committed
    • * zh_CN.po: Update. · 43ac1934
      From-SVN: r99279
      Joseph Myers committed
    • * nl.po: Update. · 970a559e
      From-SVN: r99277
      Joseph Myers committed
    • t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY): Exclude roe/603e multilib variants. · 03ad4829
      2005-05-05  Ralf Corsepius  <ralf.corsepius@rtems.org>
      
      	* config/rs6000/t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY):
      	Exclude roe/603e multilib variants.
      
      From-SVN: r99275
      Ralf Corsepius committed
    • * pt.c: Fix a comment typo. · 1875c2b7
      From-SVN: r99274
      Kazu Hirata committed
    • acinclude.m4: Remove testsuite_wchar_t and testsuite_thread. · a72c74a1
      
      2005-05-04  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
      	* testsuite/Makefile.am: Same.
      	* scripts/create_testsuite_files: Same.
      	* Makefile.in: Regenerate.
      	* configure: Same.
      	* include/Makefile.in: Same.
      	* libmath/Makefile.in: Same.
      	* libsupc++/Makefile.in: Same.
      	* po/Makefile.in: Same.
      	* src/Makefile.in: Same.
      
      From-SVN: r99273
      Benjamin Kosnik committed
    • re PR target/21284 (AVR target: switch/case jump table is placed in .data… · fde6858e
      re PR target/21284 (AVR target: switch/case jump table is placed in .data instead of .progmem.gcc_sw_table)
      
      	PR target/21284
      	* config/avr/avr.c (avr_output_addr_vec_elt): Use special section
      	for output.
      
      From-SVN: r99272
      Denis Chertykov committed
    • arm-g2.c: Use effective-target arm32. · 0d341a6a
      2005-05-05  Paul Brook  <paul@codesourcery.com>
      
      	* gcc.dg/arm-g2.c: Use effective-target arm32.
      	* gcc.dg/arm-mmx-1.c: Ditto.
      	* gcc.dg/arm-scd42-2.c: Ditto.
      	* gcc.dg/arm-vfp1.c: Ditto.
      	* lib/target-supports.exp (check_effective_target_arm32): New
      	function.
      
      From-SVN: r99269
      Paul Brook committed
    • ltconfig: Define file_list_spec. · c9392a2b
              * ltconfig: Define file_list_spec.  Pass file_list_spec and
              with_gnu_ld to libtool.
              * ltcf-c.sh (aix[45]): Define file_list_spec.
              * ltcf-cxx.sh (aix[45]): Same.
              * ltcf-gcj.sh (aix[45]): Same.
              * ltmain.sh: If command exceeds max_cmd_len and file_list_spec
              exists, write list of input files to temporary file.
      
      From-SVN: r99268
      David Edelsohn committed
    • config.gcc (arm*-wince-pe*, [...]): Add arm/pe.opt to $extra_options. · c54c7322
      	* config.gcc (arm*-wince-pe*, arm-*-pe*, strongarm-*-pe): Add
      	arm/pe.opt to $extra_options.
      	* config/arm/arm.h (target_flags, target_fpu_name, target_fpe_name)
      	(target_float_abi_name, target_float_switch, target_abi_name)
      	(ARM_FLAG_APCS_FRAME, ARM_FLAG_POKE, ARM_FLAG_FPE, ARM_FLAG_APCS_STACK)
      	(ARM_FLAG_APCS_FLOAT, ARM_FLAG_APCS_REENT, ARM_FLAG_BIG_END)
      	(ARM_FLAG_INTERWORK, ARM_FLAG_LITTLE_WORDS, ARM_FLAG_NO_SCHED_PRO)
      	(ARM_FLAG_ABORT_NORETURN, ARM_FLAG_SINGLE_PIC_BASE)
      	(ARM_FLAG_LONG_CALLS, ARM_FLAG_THUMB, THUMB_FLAG_BACKTRACE)
      	(THUMB_FLAG_LEAF_BACKTRACE, THUMB_FLAG_CALLEE_SUPER_INTERWORKING)
      	(THUMB_FLAG_CALLER_SUPER_INTERWORKING, CIRRUS_FIX_INVALID_INSNS)
      	(TARGET_APCS_FRAME, TARGET_POKE_FUNCTION_NAME, TARGET_FPE)
      	(TARGET_APCS_STACK, TARGET_APCS_FLOAT, TARGET_APCS_REENT)
      	(TARGET_BIG_END, TARGET_INTERWORK, TARGET_LITTLE_WORDS)
      	(TARGET_NO_SCHED_PRO, TARGET_ABORT_NORETURN, TARGET_SINGLE_PIC_BASE)
      	(TARGET_LONG_CALLS, TARGET_THUMB, TARGET_CALLER_INTERWORKING)
      	(TARGET_CIRRUS_FIX_INVALID_INSNS, SUBTARGET_SWITCHES, TARGET_SWITCHES)
      	(TARGET_OPTIONS, arm_cpu_select, arm_select,  structure_size_string)
      	(arm_pic_register_string): Delete.
      	(TARGET_BACKTRACE): Redefine using TARGET_TPCS_LEAF_FRAME and
      	TARGET_TPCS_FRAME.
      	(TARGET_DEFAULT, CONDITIONAL_REGISTER_USAGE): Update mask names.
      	* config/arm/coff.h (TARGET_DEFAULT): Likewise.
      	* config/arm/elf.h (TARGET_DEFAULT): Likewise.
      	* config/arm/netbsd-elf.h (TARGET_DEFAULT): Likewise.
      	* config/arm/netbsd.h (TARGET_DEFAULT): Likewise.
      	* config/arm/semi.h (TARGET_DEFAULT): Likewise.
      	* config/arm/uclinux-elf.h (TARGET_DEFAULT): Likewise.
      	* config/arm/wince-pe.h (TARGET_DEFAULT): Likewise.
      	* config/arm/pe.h (TARGET_DEFAULT): Likewise.
      	(TARGET_FLAG_NOP_FUN, TARGET_NOP_FUN_DLLIMPORT): Delete.
      	(SUBTARGET_SWITCHES): Delete.
      	* config/arm/arm.c (target_float_switch): Delete.
      	(arm_cpu_select): Moved from config/arm/arm.h.
      	(target_fpu_name, target_fpe_name, target_float_abi_name)
      	(target_abi_name, structure_size_string, arm_pic_register_string)
      	(arm_select): Make static.
      	(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
      	(arm_handle_option): New function.
      	(arm_override_options): Update target_flags checks for new mask names.
      	Remove target_float_switch code.
      	(arm_expand_prologue, thumb_expand_prologue): Check
      	!TARGET_SCHED_PROLOG instead of TARGET_NO_SCHED_PRO.
      	* config/arm/arm.opt, config/arm/pe.opt: New files.
      
      From-SVN: r99265
      Richard Sandiford committed
    • arc.c (get_arc_condition_code): Use gcc_assert & gcc_unreachable as appropriate. · 5e16a15b
      	* config/arc/arc.c (get_arc_condition_code): Use gcc_assert &
      	gcc_unreachable as appropriate.
      	(arc_double_limm_p, arc_setup_incoming_varargs,
      	arc_compute_function_type, arc_output_function_prologue,
      	arc_output_function_epilogue, arc_eligible_for_epilogue_delay,
      	output_shift, arc_print_operand, arc_print_operand_address,
      	arc_final_prescan_insn): Likewise.
      	* config/arc/arc.md (*movdi_insn, *movdf_insn): Likewise.
      
      From-SVN: r99264
      Nathan Sidwell committed
    • rs6000.md (P): Use TARGET_*BIT rather than comparing Pmode. · 0354e5d8
      	* config/rs6000/rs6000.md (P): Use TARGET_*BIT rather than
      	comparing Pmode.
      	(SDI): New.
      	(cmp): Delete.
      	(wd): New.
      	(add<mode>3, add<mode>3_internal1, add<mode>3_internal2,
      	add<mode>3_internal3, one_cmpl<mode>2, sub<mode>3, neg<mode>2,
      	clz<mode>2, ctz<mode>2, ffs<mode>2): New.
      	(addsi3, addsi3_internal1, addsi3_internal2, addsi3_internal3,
      	(one_cmplsi2, subsi3, negsi2, clzsi2, ctzsi2, ffssi2): Remove.
      	(adddi3, adddi3_internal1, adddi3_internal2, adddi3_internal3,
      	(one_cmpldi2, subdi3, negdi2, clzdi2, ctzdi2, ffsdi2): Remove.
      	(sync_compare_and_swap<mode>): Use <wd> rather than <cmp>.
      
      From-SVN: r99262
      Geoffrey Keating committed
    • BufferCapabilities.java (BufferCapabilities): Fix the typo. · 1df5d87d
      2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* java/awt/BufferCapabilities.java (BufferCapabilities): Fix
      	the typo.
      
      From-SVN: r99261
      H.J. Lu committed
    • ffi64.c (ffi_prep_cif_machdep): Save sse-used flag in bit 11 of flags. · d56ea8d9
              * src/x86/ffi64.c (ffi_prep_cif_machdep): Save sse-used flag in
              bit 11 of flags.
              (ffi_call): Mask return type field.  Pass ssecount to ffi_call_unix64.
              (ffi_prep_closure): Set carry bit if sse-used flag set.
              * src/x86/unix64.S (ffi_call_unix64): Add ssecount argument.
              Only load sse registers if ssecount non-zero.
              (ffi_closure_unix64): Only save sse registers if carry set on entry.
      
      From-SVN: r99257
      Richard Henderson committed
    • libstdc++.exp (v3-build_support): Look for __GTHREADS... · 08cce8fe
      	* testsuite/lib/libstdc++.exp (v3-build_support): Look for
      	__GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
      	whether or not thread support is available.
      
      From-SVN: r99256
      Mark Mitchell committed
    • test.html: Explain how to run the testsuite on an installed directory. · 86abebe2
      	* docs/html/test.html: Explain how to run the testsuite on an
      	installed directory.
      
      From-SVN: r99255
      Mark Mitchell committed
    • Makefile.in: Replace dependencies on basic-block.h... · e7716c95
      2005-05-05  Paul Brook  <paul@codesourcery.com>
      
      	* Makefile.in: Replace dependencies on basic-block.h, c-pragma.h,
      	cfgloop.h, diagnostic.h, insn-attr.h, langhooks-def.h, params.h,
      	regs.h, system.h, tree-dump.h, tree-gimple.h, tree-scalar-evolution.h
      	and tree-data-ref.h with *_H variables.
      
      From-SVN: r99254
      Paul Brook committed
    • xm-m32r.h, linux.h: Delete files. · a78315cc
      2005-05-05  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* config/m32r/xm-m32r.h, config/m32r/linux.h: Delete files.
      
      From-SVN: r99253
      Kelley Cook committed
    • system.h: Poison BYTEORDER and HOST_WORDS_BIG_ENDIAN. · 68d5a1cd
      2005-05-05  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* system.h: Poison BYTEORDER and HOST_WORDS_BIG_ENDIAN.
      
      From-SVN: r99252
      Kelley Cook committed
    • Oops, regenerate with updated tree. · 9da51f74
      From-SVN: r99251
      Mike Stump committed
    • BufferStrategy.java: Document. · ff6d54b3
      2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* java/awt/image/BufferStrategy.java: Document.
      
      From-SVN: r99250
      Thomas Fitzsimmons committed
    • configure.in: Always pass --target to target configures as otherwise rebuilds that do... · bebcd931
              * configure.in: Always pass --target to target configures as
              otherwise rebuilds that do --recheck will fail.
              * confiugure: Rebuilt.
      
      From-SVN: r99247
      Mike Stump committed