platform/upstream/gcc.git
19 years agore PR target/16925 (ICE when building a m68hc11 cross-compiler on 64-bit architectures)
Stephane Carrez [Sun, 8 May 2005 10:23:39 +0000 (12:23 +0200)]
re PR target/16925 (ICE when building a m68hc11 cross-compiler on 64-bit architectures)

PR target/16925
* config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Handle split of
64-bit constants on 64-bit hosts.
(m68hc11_split_logical): Simplify.
(m68hc11_split_move): Likewise.

From-SVN: r99388

19 years agoMakefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh
Nathan Sidwell [Sun, 8 May 2005 10:13:19 +0000 (10:13 +0000)]
Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh

* Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh
* aclocal.m4 (GCC_TARGET_TEMPLATE, AH_TEMPLATE): New.
* configure.ac (enable_checking): Fix typos in runtime_checking.
(ENABLE_RUNTIME_CHECKING): Mark as target template.
(xm_file): Prepend auto-host.h
(HAVE_GAS_HIDDEN, HAVE_LD_EH_FRAME_HDR): Mark as target template.
* mkconfig.sh: Do not automatically define USED_FOR_TARGET in
tconfig.h.
* crtstuff.c: Do not include auto-host.h.
(IN_LIBGCC2): Do not define.
* gcov-io.h: Include tconfig.h, not auto-host.h.
* libgcc2.c: Do not include auto-host.h.
(abort): Do not undefine.
* libgcov.c: Remove unneeded comment about config.h.
* unwind-dw2-fde-glibc.c: Do not inlude auto-host.h.
* config.in, configure: Regenerated.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r99386

19 years agoalpha.c (tls_symbolic_operand_1): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Sun, 8 May 2005 09:48:22 +0000 (09:48 +0000)]
alpha.c (tls_symbolic_operand_1): Use gcc_assert and gcc_unreachable as appropriate.

* config/alpha/alpha.c (tls_symbolic_operand_1): Use gcc_assert
and gcc_unreachable as appropriate.
(get_aligned_mem, get_unaligned_address,
alpha_emit_set_long_const, alpha_emit_conditional_branch,
alpha_emit_setcc, alpha_emit_conditional_move,
alpha_lookup_xfloating_lib_func, alpha_compute_xfloating_mode_arg,
alpha_emit_xfloating_libcall, alpha_split_tfmode_pair,
alpha_expand_unaligned_load, alpha_expand_block_move,
alpha_expand_zap_mask, get_trap_mode_suffix,
get_round_mode_suffix, get_some_local_dynamic_name,
print_operand_address, function_arg, alpha_return_in_memory,
function_value, alpha_expand_builtin,
alpha_initial_elimination_offset, alpha_expand_epilogue,
summarize_insn, alpha_handle_trap_shadows, alphaev5_insn_pipe,
alphaev5_next_group, alpha_align_insns,
unicosmk_initial_elimination_offset, unicosmk_unique_section,
unicosmk_ssib_name): Likewise.
* config/alpha/alpha.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* config/alpha/unicosmk.h (TRAMPOLINE_TEMPLATE,
ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_DIFF_VEC): Likewise.
* config/alpha/vms.h (INITIAL_ELIMINATION_OFFSET,
ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
* config/alpha/alpha.md (*divmodsi_internal_er,
*divmoddi_internal_er, ashldi3, *insxl, sibcall, call_osf,
call_nt, call_umk, call_vms, call_value, sibcall_value,
call_value_osf, call_value_nt, call_value_vms, call_value_umk,
*call_vms_1, *movmemdi_1, *clrmemdi_1, *call_value_vms_1): Likewise.
* config/alpha/predicates.md (input_operand): Likewise.

Co-Authored-By: Falk Hueffner <falk@debian.org>
From-SVN: r99384

19 years agofrv.c (frv_default_flags_for_cpu): Use gcc_assert and gcc_unreachable, as appropriate.
Nathan Sidwell [Sun, 8 May 2005 09:40:45 +0000 (09:40 +0000)]
frv.c (frv_default_flags_for_cpu): Use gcc_assert and gcc_unreachable, as appropriate.

* config/frv/frv.c (frv_default_flags_for_cpu): Use gcc_assert and
gcc_unreachable, as appropriate.
(frv_function_prologue, frv_alloc_temp_reg,
frv_initial_elimination_offset, frv_expand_block_move,
frv_expand_block_clear, frv_print_operand_jump_hint,
frv_legitimize_tls_address, unspec_got_name, frv_emit_move,
frv_emit_movsi, frv_split_cond_move, frv_split_minmax,
frv_ifcvt_modify_insn, frv_ifcvt_modify_final,
frv_adjust_field_align, frv_insn_unit, frv_cond_flags,
frv_sort_insn_group, frv_reorder_packet, frv_matching_accg_mode,
frv_in_small_data_p, frv_asm_out_constructor,
frv_asm_out_destructor, frv_output_dwarf_dtprel): Likewise.
* config/frv/frv.md (reload_incc_fp, *cond_exec_si_binary1,
*cond_exec_si_binary2, *cond_exec_si_divide, *cond_exec_si_unary1,
*cond_exec_sf_conv, *cond_exec_sf_add, call, sibcall, call_value,
sibcall_value, casesi): Likewise.

From-SVN: r99383

19 years agomn10300.c (print_operand): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Sun, 8 May 2005 09:37:17 +0000 (09:37 +0000)]
mn10300.c (print_operand): Use gcc_assert and gcc_unreachable as appropriate.

* config/mn10300/mn10300.c (print_operand): Use gcc_assert and
gcc_unreachable as appropriate.
(print_operand_address, mn10300_print_reg_list, expand_prologue,
expand_epilogue, notice_update_cc, initial_offset,
mn10300_address_cost_1): Likewise.
* config/mn10300/mn10300.md: Likewise.
(absdf2, abssf2, negdf2, negsf2): Likewise.

From-SVN: r99382

19 years agoAdd PR number to last changelog.
Richard Sandiford [Sun, 8 May 2005 09:27:18 +0000 (09:27 +0000)]
Add PR number to last changelog.

From-SVN: r99381

19 years agomips.c (mips_emit_compare): Don't reverse UNGE and UNGT comparisons.
Richard Sandiford [Sun, 8 May 2005 09:24:45 +0000 (09:24 +0000)]
mips.c (mips_emit_compare): Don't reverse UNGE and UNGT comparisons.

* config/mips/mips.c (mips_emit_compare): Don't reverse UNGE and UNGT
comparisons.
* config/mips/mips.md (swapped_fcond): New code macro and attribute.
(sgt_<mode>, sge_<mode>): Generalize to all members of swapped_fcond,
including sunge_<mode> and sungt_<mode>.

From-SVN: r99380

19 years agointegrate.h (get_hard_reg_initial_val): Change type of register parameter from int...
Richard Sandiford [Sun, 8 May 2005 09:16:47 +0000 (09:16 +0000)]
integrate.h (get_hard_reg_initial_val): Change type of register parameter from int to unsigned int.

* integrate.h (get_hard_reg_initial_val): Change type of register
parameter from int to unsigned int.
(has_hard_reg_initial_val): Likewise.
* integrate.c (get_hard_reg_initial_val): Likewise.
(has_hard_reg_initial_val): Likewise.  Remove cast to unsigned int.

From-SVN: r99379

19 years agoexcept.c (eh_status): Change the type of ttype_data to VEC(tree,gc)*.
Kazu Hirata [Sun, 8 May 2005 04:22:42 +0000 (04:22 +0000)]
except.c (eh_status): Change the type of ttype_data to VEC(tree,gc)*.

* except.c (eh_status): Change the type of ttype_data to
VEC(tree,gc)*.
(add_ttypes_entry, assign_filter_values,
output_function_exception_table): Use VEC instead of VARRAY.

From-SVN: r99378

19 years ago* config/rs6000/rs6000.md (popcount<mode>2): Fix non-C90 constant.
David Edelsohn [Sun, 8 May 2005 02:35:49 +0000 (02:35 +0000)]
* config/rs6000/rs6000.md (popcount<mode>2): Fix non-C90 constant.

From-SVN: r99377

19 years agoclass.c (vtbl_init_data_s): Change the type of fns to VEC(tree,gc)*.
Kazu Hirata [Sun, 8 May 2005 02:17:54 +0000 (02:17 +0000)]
class.c (vtbl_init_data_s): Change the type of fns to VEC(tree,gc)*.

* class.c (vtbl_init_data_s): Change the type of fns to
VEC(tree,gc)*.
(build_vtbl_initializer, add_vcall_offset, add_vcall_offset):
Use VEC instead of VARRAY.

From-SVN: r99376

19 years agoMakefile.in: Fix dependencies.
Paul Brook [Sun, 8 May 2005 01:15:17 +0000 (01:15 +0000)]
Makefile.in: Fix dependencies.

2005-05-07  Paul Brook  <paul@codesourcery.com>

* Makefile.in: Fix dependencies.
(GCOV_IO_H, VARRAY_H): Set.

From-SVN: r99375

19 years agoDaily bump.
GCC Administrator [Sun, 8 May 2005 00:16:34 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99373.2

19 years agore PR bootstrap/21403 (Canadian cross build fails.)
Anthony Green [Sat, 7 May 2005 22:31:59 +0000 (22:31 +0000)]
re PR bootstrap/21403 (Canadian cross build fails.)

2005-05-07  Anthony Green  <green@redhat.com>

        PR bootstrap/21403
        * configure.ac (STMP_FIXPROTO): Fix [ ] consumption problem in
        x$STMP_FIXPROTO test.
        * configure: Rebuilt.

From-SVN: r99370

19 years ago* de.po, zh_CN.po: Update.
Joseph Myers [Sat, 7 May 2005 20:42:09 +0000 (21:42 +0100)]
* de.po, zh_CN.po: Update.

From-SVN: r99366

19 years agointrinsic.texi: Document ASSOCIATED and ATAN2.
Steven G. Kargl [Sat, 7 May 2005 20:37:20 +0000 (20:37 +0000)]
intrinsic.texi: Document ASSOCIATED and ATAN2.

* intrinsic.texi:  Document ASSOCIATED and ATAN2.  Update Bessel function
  descriptions to include info about scalar arguments.

From-SVN: r99365

19 years agopa-hpux11.h (TARGET_OS_CPP_BUILTINS): Do not define inappropriate feature test macros...
Joseph Myers [Sat, 7 May 2005 20:14:42 +0000 (21:14 +0100)]
pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Do not define inappropriate feature test macros if flag_iso.

* config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Do not define
inappropriate feature test macros if flag_iso.

From-SVN: r99363

19 years ago* config/ia64/hpux.h (NO_IMPLICIT_EXTERN_C): Define.
Joseph Myers [Sat, 7 May 2005 20:12:07 +0000 (21:12 +0100)]
* config/ia64/hpux.h (NO_IMPLICIT_EXTERN_C): Define.

From-SVN: r99362

19 years agore PR target/21441 (CRIS: gcc.c-torture/execute/20040703-1.c compilation, -Os and...
Hans-Peter Nilsson [Sat, 7 May 2005 19:40:25 +0000 (19:40 +0000)]
re PR target/21441 (CRIS: gcc.c-torture/execute/20040703-1.c compilation,  -Os and libstdc++ setup)

PR target/21441
* config/cris/cris.md ("*movdi_insn", "*mov_sidesisf_biap")
("*mov_sidesisf", "*mov_sidesisf_biap_mem", "*mov_sidesisf_mem"):
Handle moved operand being in special register.
("smulsi3_highpart", "umulsi3_highpart"): Change .error into
presumed working insn.
(mover2side): Add FIXME.

From-SVN: r99360

19 years ago* config/cris/cris.md ("*movdi_insn", "*mov_sidesisf_biap")
Hans-Peter Nilsson [Sat, 7 May 2005 19:37:15 +0000 (19:37 +0000)]
* config/cris/cris.md ("*movdi_insn", "*mov_sidesisf_biap")
("*mov_sidesisf", "*mov_sidesisf_biap_mem", "*mov_sidesisf_mem"):
Handle moved operand being in special register.
("smulsi3_highpart", "umulsi3_highpart"): Change .error into
presumed working insn.
(mover2side): Add FIXME.

From-SVN: r99359

19 years agointegrate.c (get_func_hard_reg_initial_val): Delete.
Richard Sandiford [Sat, 7 May 2005 19:05:33 +0000 (19:05 +0000)]
integrate.c (get_func_hard_reg_initial_val): Delete.

* integrate.c (get_func_hard_reg_initial_val): Delete.
(has_func_hard_reg_initial_val): Delete.
(get_hard_reg_initial_val): Inline the old implementation of
get_func_hard_reg_initial_val.  Use has_hard_reg_initial_val
instead of has_func_hard_reg_initial_val to test for an existing
pseudo.  Only create an rtx if a new initial value entry is needed.
(has_hard_reg_initial_val): Scan the initial value list directly.
Don't create an rtx.

From-SVN: r99358

19 years agoopt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask if variable name exists.
David Edelsohn [Sat, 7 May 2005 19:03:22 +0000 (19:03 +0000)]
opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask if variable name exists.

        * opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask
        if variable name exists.

From-SVN: r99357

19 years agoconfig.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt from extra_options.
David Edelsohn [Sat, 7 May 2005 18:51:50 +0000 (18:51 +0000)]
config.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt from extra_options.

        * config.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt
        from extra_options.
        * config.in (HAVE_AS_POPCNTB): New.
        * configure.ac (HAVE_AS_MFCRF): Add .machine "pwr5" to AIX test.
        (HAVE_AS_POPCNTB): New.
        * configure: Regenerated.
        * config/rs6000/aix.h (TARGET_XL_COMPAT): Delete.
        * config/rs6000/rs6000.c (rs6000_override_options, power5): Add
        MASK_POPCNTB.  Uncomment rs6000_sched_restricted_insns_priority
        and rs6000_sched_costly_dep.
        * config/rs6000/rs6000.h (TARGET_POPCNTB): New.
        (TARGET_XL_COMPAT): Delete.
        * config/rs6000/rs6000.md (UNSPEC_POPCNTB): New.
        (popcount<mode>2): New.
        (popcntb<mode>2): New.
        * config/rs6000/rs6000.opt (mpopcntb): New.

From-SVN: r99356

19 years ago* Makefile.in (c-gimplify.o): Depend on $(RTL_H) instead of rtl.h.
Matt Kraai [Sat, 7 May 2005 16:56:28 +0000 (16:56 +0000)]
* Makefile.in (c-gimplify.o): Depend on $(RTL_H) instead of rtl.h.

From-SVN: r99355

19 years agore PR target/21412 (ICE loading TLS address)
Richard Henderson [Sat, 7 May 2005 16:46:08 +0000 (09:46 -0700)]
re PR target/21412 (ICE loading TLS address)

        PR target/21412
        * config/rs6000/rs6000.c (rs6000_emit_move): Look for tls addresses
        with constant offsets.

From-SVN: r99352

19 years agov850.c (print_operand): Use gcc_assert and gcc_unreachable, as appropriate.
Nathan Sidwell [Sat, 7 May 2005 15:32:16 +0000 (15:32 +0000)]
v850.c (print_operand): Use gcc_assert and gcc_unreachable, as appropriate.

* config/v850/v850.c (print_operand): Use gcc_assert and
gcc_unreachable, as appropriate.
(print_operand_address, v850_handle_data_area_attribute,
v850_encode_data_area, construct_restore_jr, construct_save_jarl,
v850_insert_attributes, construct_prepare_instruction): Likewise.
* config/v850/v850.h (INITIAL_ELIMINATION_OFFSET): Likewise.
* config/v850/v850.md (movsicc, *sasf_1): Likewise.

From-SVN: r99351

19 years agotree-ssa-loop-ivcanon.c, [...]: Fix comment typos.
Kazu Hirata [Sat, 7 May 2005 14:43:55 +0000 (14:43 +0000)]
tree-ssa-loop-ivcanon.c, [...]: Fix comment typos.

* tree-ssa-loop-ivcanon.c, config/i386/i386.c,
config/rs6000/rs6000.h: Fix comment typos.

From-SVN: r99350

19 years agoGtkVolatileImage.java: Add imports.
Matthias Klose [Sat, 7 May 2005 13:17:00 +0000 (13:17 +0000)]
GtkVolatileImage.java: Add imports.

2005-05-07  Matthias Klose  <doko@debian.org>

        * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.

From-SVN: r99349

19 years agoinvoke.texi: Remove documentation for MIPS' -mint64 option.
Richard Sandiford [Sat, 7 May 2005 09:48:29 +0000 (09:48 +0000)]
invoke.texi: Remove documentation for MIPS' -mint64 option.

* doc/invoke.texi: Remove documentation for MIPS' -mint64 option.
* config/mips/mips.c (TARGET_SCALAR_MODE_SUPPORTED_P): Delete.
(mips_scalar_mode_supported_p): Delete.

cp/
* mangle.c: Remove a reference to the MIPS -mint64 option.

From-SVN: r99348

19 years agomangle.c (globals): Change the type of substitutions to VEC(tree,gc)*.
Kazu Hirata [Sat, 7 May 2005 04:12:06 +0000 (04:12 +0000)]
mangle.c (globals): Change the type of substitutions to VEC(tree,gc)*.

* mangle.c (globals): Change the type of substitutions to
VEC(tree,gc)*.
(dump_substitution_candidates, add_substitution,
find_substitution, finish_mangling, init_mangle): Use VEC
instead of VARRAY.

From-SVN: r99347

19 years agodecl.c (wrapup_globals_for_namespace): Use VEC instead of VARRAY.
Kazu Hirata [Sat, 7 May 2005 02:29:34 +0000 (02:29 +0000)]
decl.c (wrapup_globals_for_namespace): Use VEC instead of VARRAY.

* decl.c (wrapup_globals_for_namespace): Use VEC instead of
VARRAY.
* name-lookup.c (add_decl_to_level, begin_scope): Likewise.
* name-lookup.h (cp_binding_level): Change the type of
static_decls to VEC(tree,gc)*.

From-SVN: r99346

19 years agofix typo
R. Kelley Cook [Sat, 7 May 2005 01:21:13 +0000 (01:21 +0000)]
fix typo

From-SVN: r99345

19 years agoaclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
Kelley Cook [Sat, 7 May 2005 01:18:14 +0000 (01:18 +0000)]
aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.

2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>

* aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
* configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
* configure: Regenerate.

From-SVN: r99344

19 years agoconfigure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
Kelley Cook [Sat, 7 May 2005 01:08:27 +0000 (01:08 +0000)]
configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.

2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>

* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
* aclocal.m4: Don't include accross.m4.
* configure, config.in: Regenerate.

From-SVN: r99343

19 years agoDaily bump.
GCC Administrator [Sat, 7 May 2005 00:17:00 +0000 (00:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99341.2

19 years agomips.opt: Remove -mint64 option.
Eric Christopher [Fri, 6 May 2005 23:41:07 +0000 (23:41 +0000)]
mips.opt: Remove -mint64 option.

2005-05-06  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.opt: Remove -mint64 option.
* config/mips/mips.c (override_options): Remove -mint64
handling.
* config/mips/mips.h (INT_TYPE_SIZE): Define to 32.
* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove
64-bit integer handling.
* doc/invoke.texi (Option Summary): Remove -mint64 for
mips.

From-SVN: r99337

19 years agoMakefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
Thomas Fitzsimmons [Fri, 6 May 2005 23:06:18 +0000 (23:06 +0000)]
Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.

2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>

* Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
* Makefile.in: Regenerate.
* gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
(createCompatibleVolatileImage(int,int)): Implement.
(createCompatibleVolatileImage(int,int,ImageCapabilities)):
Likewise.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
New fields.
(createVolatileImage): Implement.
(createBuffers): Likewise.
(getBackBuffer): Likewise.
(flip): Likewise.
(destroyBuffers): Likewise.
* gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
* java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
(CanvasFlipBufferStrategy): Likewise.
(createBufferStrategy(int)): New method.
(createBufferStrategy(int,BufferCapabilities)): Likewise.
* java/awt/Component.java (BltBufferStrategy): Implement and
document class.
(FlipBufferStrategy): Likewise.
* java/awt/Window.java (WindowBltBufferStrategy): New class.
(WindowFlipBufferStrategy): Likewise.
(createBufferStrategy(int)): New method.
(createBufferStrategy(int,BufferCapabilities)): Likewise.
(getBufferStrategy): Likewise.
* java/awt/BufferCapabilities.java (BufferCapabilities): Rename
front to frontCaps and back to backCaps.

From-SVN: r99336

19 years agore PR tree-optimization/19401 (Trivial loop not unrolled)
Zdenek Dvorak [Fri, 6 May 2005 21:11:29 +0000 (23:11 +0200)]
re PR tree-optimization/19401 (Trivial loop not unrolled)

PR tree-optimization/19401
* tree-flow.h (tree_unroll_loops_completely): Declaration changed.
* tree-ssa-loop-ivcanon.c (enum unroll_level): New.
(estimated_unrolled_size): New function.
(try_unroll_loop_completely, canonicalize_loop_induction_variables,
tree_unroll_loops_completely): Always unroll loops if the code size
does not increase.
* tree-ssa-loop.c (tree_complete_unroll): Indicate whether all
loops should be unrolled completely.
(gate_tree_complete_unroll): Run complete unrolling unconditionally.

From-SVN: r99334

19 years agore PR rtl-optimization/21254 (Incorrect code with -funroll-loops for multiple targets...
Zdenek Dvorak [Fri, 6 May 2005 20:24:00 +0000 (22:24 +0200)]
re PR rtl-optimization/21254 (Incorrect code with -funroll-loops for multiple targets with same code)

PR rtl-optimization/21254
* loop-iv.c (iv_number_of_iterations): Simplify infiniteness
assumptions for loops that otherwise do not roll.
(find_simple_exit): Prefer # of iterations that is guaranteed
not to be infinite.
* loop-unroll.c (decide_peel_once_rolling,
decide_peel_completely): Check whether the loop is infinite.

From-SVN: r99332

19 years agosysv4.opt: Fix typo.
Pat Haugen [Fri, 6 May 2005 19:34:10 +0000 (19:34 +0000)]
sysv4.opt: Fix typo.

2005-05-06  Pat Haugen  <pthaugen@us.ibm.com>

* config/rs6000/sysv4.opt: Fix typo.

From-SVN: r99331

19 years agore PR target/21329 (optimize i386 block copy)
Denis Vlasenko [Fri, 6 May 2005 19:31:13 +0000 (19:31 +0000)]
re PR target/21329 (optimize i386 block copy)

2005-05-06  Denis Vlasenko  <vda@port.imtp.ilyichevsk.odessa.ua>
    Jakub Jelinek  <jakub@redhat.com>

PR target/21329
* config/i386/i386.c (ix86_expand_movmem): Don't use rep; movsb
for -Os if (movsl;)*(movsw;)?(movsb;)? sequence is shorter.
Don't use rep; movs{l,q} if the repetition count is really small,
instead use a sequence of movs{l,q} instructions.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r99330

19 years agodecl2.c (pending_statics, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Fri, 6 May 2005 19:03:35 +0000 (19:03 +0000)]
decl2.c (pending_statics, [...]): Use VEC instead of VARRAY.

* decl2.c (pending_statics, note_vague_linkage_var,
cp_finish_file): Use VEC instead of VARRAY.
(pending_statics_used): Remove.

From-SVN: r99329

19 years agoRevert accidental commit
Mark Mitchell [Fri, 6 May 2005 17:04:16 +0000 (17:04 +0000)]
Revert accidental commit

From-SVN: r99326

19 years agotestsuite_hooks.cc (try_mkfifo): Remove.
Mark Mitchell [Fri, 6 May 2005 17:03:10 +0000 (17:03 +0000)]
testsuite_hooks.cc (try_mkfifo): Remove.

* testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
* testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
* testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
mkfifo.
* testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
Likewise.
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
* testsuite/27_io/objects/char/7.cc: Likewise.
* testsuite/27_io/objects/char/9661-1.cc: Likewise.
* testsuite/27_io/objects/wchar_t/7.cc: Likewise.
* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.

* lib/target-supports-dg.exp (dg-require-fork): New function.
(dg-require-mkfifo): Likewise.
* lib/target-supports.exp (check_function_available): New
function.
(check_fork_available): Likewise.
(check_mkfifo_available): Likewise.

From-SVN: r99325

19 years agore PR tree-optimization/21380 (ICE compiling with -O)
Jeff Law [Fri, 6 May 2005 16:43:58 +0000 (10:43 -0600)]
re PR tree-optimization/21380 (ICE compiling with -O)

PR tree-optimization/21380
* tree-ssa-threadupdate.c (thread_through_all_blocks): Do not
thread through a block with no preds.

  * gcc.c-torture/compile/pr21380.c: New test.

From-SVN: r99324

19 years agoFix backslash expression in here string
Bruce Korb [Fri, 6 May 2005 16:33:18 +0000 (16:33 +0000)]
Fix backslash expression in here string

[[Split portion of a mixed commit.]]

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r99322.2

19 years agodecl2.c (ssdf_decls, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Fri, 6 May 2005 14:24:20 +0000 (14:24 +0000)]
decl2.c (ssdf_decls, [...]): Use VEC instead of VARRAY.

* decl2.c (ssdf_decls, start_static_storage_duration_function,
generate_ctor_or_dtor_function): Use VEC instead of VARRAY.

From-SVN: r99319

19 years ago* decl2.c (spew_debug): Remove.
Kazu Hirata [Fri, 6 May 2005 14:10:35 +0000 (14:10 +0000)]
* decl2.c (spew_debug): Remove.

From-SVN: r99317

19 years agotree-ssa-operands.c (clobbered_v_may_defs, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Fri, 6 May 2005 14:04:11 +0000 (14:04 +0000)]
tree-ssa-operands.c (clobbered_v_may_defs, [...]): Use VEC instead of VARRAY.

* tree-ssa-operands.c (clobbered_v_may_defs, clobbered_vuses,
ro_call_vuse, fini_ssa_operands, add_call_clobber_ops,
add_call_read_ops): Use VEC instead of VARRAY.

From-SVN: r99316

19 years agomcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Fri, 6 May 2005 13:58:17 +0000 (13:58 +0000)]
mcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as appropriate.

* 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

19 years agolinux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL.
Aldy Hernandez [Fri, 6 May 2005 13:40:30 +0000 (13:40 +0000)]
linux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL.

* 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

19 years agom32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as appropriate.
Nathan Sidwell [Fri, 6 May 2005 10:23:03 +0000 (10:23 +0000)]
m32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as appropriate.

* 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

19 years agore PR c++/20961 (ICE on pragma weak/__attribute__((weak)))
Jakub Jelinek [Fri, 6 May 2005 09:16:24 +0000 (11:16 +0200)]
re PR c++/20961 (ICE on pragma weak/__attribute__((weak)))

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

19 years ago* config/rs6000/sysv4.h (EXTRA_SUBTARGET_SWITCHES): Delete.
Richard Sandiford [Fri, 6 May 2005 07:41:44 +0000 (07:41 +0000)]
* config/rs6000/sysv4.h (EXTRA_SUBTARGET_SWITCHES): Delete.

From-SVN: r99305

19 years ago2005-05-06 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 6 May 2005 07:12:38 +0000 (07:12 +0000)]
2005-05-06  Michael Koch  <konqueror@gmx.de>

* java/awt/BufferCapabilities.java
(BufferCapabilities): Merged javadoc.

From-SVN: r99304

19 years ago2005-05-06 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 6 May 2005 06:52:44 +0000 (06:52 +0000)]
2005-05-06  Michael Koch  <konqueror@gmx.de>

* 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

19 years agognu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid exhausting...
Archie Cobbs [Fri, 6 May 2005 06:10:18 +0000 (06:10 +0000)]
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

19 years ago[multiple changes]
Michael Koch [Fri, 6 May 2005 06:07:01 +0000 (06:07 +0000)]
[multiple changes]

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

19 years ago2005-05-06 Roman Kennke <roman@kennke.org>
Roman Kennke [Fri, 6 May 2005 06:03:17 +0000 (06:03 +0000)]
2005-05-06  Roman Kennke  <roman@kennke.org>

* 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

19 years agoDaily bump.
GCC Administrator [Fri, 6 May 2005 00:16:21 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99296.2

19 years agoUpdate ChangeLog to reflect darwin.opt translation.
David Edelsohn [Thu, 5 May 2005 22:10:05 +0000 (18:10 -0400)]
Update ChangeLog to reflect darwin.opt translation.

From-SVN: r99291

19 years agodecl2.c (deferred_fns, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Thu, 5 May 2005 21:57:46 +0000 (21:57 +0000)]
decl2.c (deferred_fns, [...]): Use VEC instead of VARRAY.

* decl2.c (deferred_fns, note_vague_linkage_fn,
cp_finish_file): Use VEC instead of VARRAY.

From-SVN: r99290

19 years agodarwin.opt translation
David Edelsohn [Thu, 5 May 2005 21:35:21 +0000 (17:35 -0400)]
darwin.opt translation

From-SVN: r99289

19 years ago* config/rs6000/darwin.h ({MASK,TARGET}_MACHO_DYNAMIC_NO_PIC) Remove.
Aldy Hernandez [Thu, 5 May 2005 21:22:25 +0000 (21:22 +0000)]
* config/rs6000/darwin.h ({MASK,TARGET}_MACHO_DYNAMIC_NO_PIC) Remove.

From-SVN: r99288

19 years agosh.c (sh_builtin_saveregs): Use copy_to_mode_reg and plus_constant.
J"orn Rennecke [Thu, 5 May 2005 21:19:19 +0000 (21:19 +0000)]
sh.c (sh_builtin_saveregs): Use copy_to_mode_reg and plus_constant.

* 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

19 years agoconfig.gcc: Add .opt magic for the rs6000 ports.
Aldy Hernandez [Thu, 5 May 2005 20:54:25 +0000 (20:54 +0000)]
config.gcc: Add .opt magic for the rs6000 ports.

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

19 years agoconfig.gcc (hppa1.1-*-rtems*): Remove.
Ralf Corsepius [Thu, 5 May 2005 19:46:43 +0000 (21:46 +0200)]
config.gcc (hppa1.1-*-rtems*): Remove.

2005-05-05  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config.gcc (hppa1.1-*-rtems*): Remove.
* config/pa/rtems.h: Remove.

From-SVN: r99282

19 years agore PR c++/21352 (ICE with passing template function type as template type)
Mark Mitchell [Thu, 5 May 2005 19:08:12 +0000 (19:08 +0000)]
re PR c++/21352 (ICE with passing template function type as template type)

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

19 years ago* zh_CN.po: Update.
Joseph Myers [Thu, 5 May 2005 18:32:49 +0000 (19:32 +0100)]
* zh_CN.po: Update.

From-SVN: r99279

19 years ago* nl.po: Update.
Joseph Myers [Thu, 5 May 2005 18:16:01 +0000 (19:16 +0100)]
* nl.po: Update.

From-SVN: r99277

19 years agot-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY): Exclude roe/603e multilib variants.
Ralf Corsepius [Thu, 5 May 2005 16:42:48 +0000 (18:42 +0200)]
t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY): Exclude roe/603e multilib variants.

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

19 years ago* pt.c: Fix a comment typo.
Kazu Hirata [Thu, 5 May 2005 16:24:10 +0000 (16:24 +0000)]
* pt.c: Fix a comment typo.

From-SVN: r99274

19 years agoacinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
Benjamin Kosnik [Thu, 5 May 2005 16:12:28 +0000 (16:12 +0000)]
acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.

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

19 years agore PR target/21284 (AVR target: switch/case jump table is placed in .data instead...
Denis Chertykov [Thu, 5 May 2005 15:42:03 +0000 (15:42 +0000)]
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

19 years agoarm-g2.c: Use effective-target arm32.
Paul Brook [Thu, 5 May 2005 15:12:01 +0000 (15:12 +0000)]
arm-g2.c: Use effective-target arm32.

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

19 years agoltconfig: Define file_list_spec.
David Edelsohn [Thu, 5 May 2005 15:04:39 +0000 (15:04 +0000)]
ltconfig: Define file_list_spec.

        * 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

19 years agoconfig.gcc (arm*-wince-pe*, [...]): Add arm/pe.opt to $extra_options.
Richard Sandiford [Thu, 5 May 2005 12:09:00 +0000 (12:09 +0000)]
config.gcc (arm*-wince-pe*, [...]): Add arm/pe.opt to $extra_options.

* 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

19 years agoarc.c (get_arc_condition_code): Use gcc_assert & gcc_unreachable as appropriate.
Nathan Sidwell [Thu, 5 May 2005 11:06:14 +0000 (11:06 +0000)]
arc.c (get_arc_condition_code): Use gcc_assert & gcc_unreachable as appropriate.

* 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

19 years agors6000.md (P): Use TARGET_*BIT rather than comparing Pmode.
Geoffrey Keating [Thu, 5 May 2005 05:09:12 +0000 (05:09 +0000)]
rs6000.md (P): Use TARGET_*BIT rather than comparing Pmode.

* 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

19 years agoBufferCapabilities.java (BufferCapabilities): Fix the typo.
H.J. Lu [Thu, 5 May 2005 04:27:06 +0000 (04:27 +0000)]
BufferCapabilities.java (BufferCapabilities): Fix the typo.

2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* java/awt/BufferCapabilities.java (BufferCapabilities): Fix
the typo.

From-SVN: r99261

19 years agoffi64.c (ffi_prep_cif_machdep): Save sse-used flag in bit 11 of flags.
Richard Henderson [Thu, 5 May 2005 04:06:38 +0000 (21:06 -0700)]
ffi64.c (ffi_prep_cif_machdep): Save sse-used flag in bit 11 of flags.

        * 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

19 years agolibstdc++.exp (v3-build_support): Look for __GTHREADS...
Mark Mitchell [Thu, 5 May 2005 04:05:35 +0000 (04:05 +0000)]
libstdc++.exp (v3-build_support): Look for __GTHREADS...

* 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

19 years agotest.html: Explain how to run the testsuite on an installed directory.
Mark Mitchell [Thu, 5 May 2005 03:57:28 +0000 (03:57 +0000)]
test.html: Explain how to run the testsuite on an installed directory.

* docs/html/test.html: Explain how to run the testsuite on an
installed directory.

From-SVN: r99255

19 years agoMakefile.in: Replace dependencies on basic-block.h...
Paul Brook [Thu, 5 May 2005 03:04:15 +0000 (03:04 +0000)]
Makefile.in: Replace dependencies on basic-block.h...

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

19 years agoxm-m32r.h, linux.h: Delete files.
Kelley Cook [Thu, 5 May 2005 03:00:27 +0000 (03:00 +0000)]
xm-m32r.h, linux.h: Delete files.

2005-05-05  Kelley Cook  <kcook@gcc.gnu.org>

* config/m32r/xm-m32r.h, config/m32r/linux.h: Delete files.

From-SVN: r99253

19 years agosystem.h: Poison BYTEORDER and HOST_WORDS_BIG_ENDIAN.
Kelley Cook [Thu, 5 May 2005 02:55:04 +0000 (02:55 +0000)]
system.h: Poison BYTEORDER and HOST_WORDS_BIG_ENDIAN.

2005-05-05  Kelley Cook  <kcook@gcc.gnu.org>

* system.h: Poison BYTEORDER and HOST_WORDS_BIG_ENDIAN.

From-SVN: r99252

19 years agoOops, regenerate with updated tree.
Mike Stump [Thu, 5 May 2005 01:31:58 +0000 (01:31 +0000)]
Oops, regenerate with updated tree.

From-SVN: r99251

19 years agoBufferStrategy.java: Document.
Thomas Fitzsimmons [Thu, 5 May 2005 01:22:12 +0000 (01:22 +0000)]
BufferStrategy.java: Document.

2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>

* java/awt/image/BufferStrategy.java: Document.

From-SVN: r99250

19 years agoconfigure.in: Always pass --target to target configures as otherwise rebuilds that...
Mike Stump [Thu, 5 May 2005 00:59:26 +0000 (00:59 +0000)]
configure.in: Always pass --target to target configures as otherwise rebuilds that do...

        * configure.in: Always pass --target to target configures as
        otherwise rebuilds that do --recheck will fail.
        * confiugure: Rebuilt.

From-SVN: r99247

19 years agoDaily bump.
GCC Administrator [Thu, 5 May 2005 00:16:28 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99244.2

19 years ago* doc/contrib.texi (Contributors): Add Mostafa Hagog and Ayal Zaks.
Gerald Pfeifer [Wed, 4 May 2005 23:09:42 +0000 (23:09 +0000)]
* doc/contrib.texi (Contributors): Add Mostafa Hagog and Ayal Zaks.

From-SVN: r99238

19 years agoFixed a vrsave problem in the presense of save_world call in the prologue.
Fariborz Jahanian [Wed, 4 May 2005 22:44:14 +0000 (22:44 +0000)]
Fixed a vrsave problem in the presense of save_world call in the prologue.

Oked by Dale Johannesen.

From-SVN: r99236

19 years agopredicates.md: New file.
Hans-Peter Nilsson [Wed, 4 May 2005 22:36:14 +0000 (22:36 +0000)]
predicates.md: New file.

* config/mmix/predicates.md: New file.
* config/mmix/mmix.c (mmix_symbolic_or_address_operand)
(mmix_reg_or_constant_operand, mmix_reg_cc_operand)
(mmix_foldable_comparison_operator, mmix_comparison_operator)
(mmix_reg_or_0_operand, mmix_reg_or_8bit_operand): Remove.
* config/mmix/mmix.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES):
Don't define.
* config/mmix/mmix.md: Include predicates.md.
("call", "call_value"): Force address to register if it isn't a
mmix_symbolic_or_address_operand.

From-SVN: r99235

19 years agoBufferCapabilities.java: Document.
Thomas Fitzsimmons [Wed, 4 May 2005 22:13:45 +0000 (22:13 +0000)]
BufferCapabilities.java: Document.

2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>

* java/awt/BufferCapabilities.java: Document.

From-SVN: r99234

19 years agore PR libfortran/21354 ([4.0 only] Rank 7 not handled correctly)
Thomas Koenig [Wed, 4 May 2005 21:38:23 +0000 (21:38 +0000)]
re PR libfortran/21354 ([4.0 only] Rank 7 not handled correctly)

2005-05-04  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21354
* m4/cshift1.m4: Change dimension of auxiliary arrays from
GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
* m4/eoshift1.m4: Likewise.
* m4/eoshift3.m4: Likewise.
* m4/ifunction.m4: Likewise.
* m4/in_pack.m4: Likewise.
* m4/in_unpack.m4: Likewise.
* intrinsics/cshift0.c: Likewise.
* intrinsics/eoshift0.c: Likewise.
* intrinsics/eoshift2.c: Likewise.
* intrinsics/random.c: Likewise.
* intrinsics/spread_generic.c: Likewise.
* intrinsics/stat.c: Likewise.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_4_l4.c: Regenerated.
* generated/count_4_l8.c: Regenerated.
* generated/count_8_l4.c: Regenerated.
* generated/count_8_l8.c: Regenerated.
* generated/cshift1_4.c: Regenerated.
* generated/cshift1_8.c: Regenerated.
* generated/eoshift1_4.c: Regenerated.
* generated/eoshift1_8.c: Regenerated.
* generated/eoshift3_4.c: Regenerated.
* generated/eoshift3_8.c: Regenerated.
* generated/in_pack_i4.c: Regenerated.
* generated/in_pack_i8.c: Regenerated.
* generated/in_unpack_i4.c: Regenerated.
* generated/in_unpack_i8.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.

2005-05-04  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21354
gfortran.dg/in_pack_rank7.f90:  New test.

From-SVN: r99232

19 years agoFileLock.java (toString): Entirely avoid String "+".
Tom Tromey [Wed, 4 May 2005 21:09:36 +0000 (21:09 +0000)]
FileLock.java (toString): Entirely avoid String "+".

* java/nio/channels/FileLock.java (toString): Entirely avoid
String "+".

2005-05-04  Andrew Overholt  <overholt@redhat.com>

* java/nio/channels/FileLock.java (toString): Re-implement using
StringBuffer.

From-SVN: r99230

19 years agotree-flow-inline.h (op_iter_init_use, [...]): Assert that the flags are of appropriat...
Andrew MacLeod [Wed, 4 May 2005 20:31:11 +0000 (20:31 +0000)]
tree-flow-inline.h (op_iter_init_use, [...]): Assert that the flags are of appropriate types.

2005-05-04  Andrew MacLeod  <amacleod@redhat.com>

* tree-flow-inline.h (op_iter_init_use, op_iter_init_def): Assert that
the flags are of appropriate types.
(num_ssa_operands): Generalize using the generic interface.
* tree-ssa-dce.c (remove_dead_stmt): Don't ask for kills on a DEF
iterator.

From-SVN: r99227

19 years agoShuffle ChangeLog entries into new files ChangeLog-1998,
Ian Lance Taylor [Wed, 4 May 2005 18:29:28 +0000 (18:29 +0000)]
Shuffle ChangeLog entries into new files ChangeLog-1998,

ChangeLog-2000, and ChangeLog-2004.  Correct some typos.  This change
does not itself get a ChangeLog entry.

From-SVN: r99225

19 years agoImageCapabilities.java: Document.
Thomas Fitzsimmons [Wed, 4 May 2005 18:25:37 +0000 (18:25 +0000)]
ImageCapabilities.java: Document.

2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>

* java/awt/ImageCapabilities.java: Document.

* java/awt/image/VolatileImage.java: Unindent copyright header.

From-SVN: r99224

19 years ago* protoize.c (version_flag, quiet_flag, nochange_flag, nosave_flag)
Richard Sandiford [Wed, 4 May 2005 17:56:21 +0000 (17:56 +0000)]
* protoize.c (version_flag, quiet_flag, nochange_flag, nosave_flag)
(keep_flag, local_flag, global_flag, cplusplus_flag): Make extern.

From-SVN: r99223