platform/upstream/gcc.git
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

19 years agotree-outof-ssa.c (edge_leader, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Wed, 4 May 2005 17:23:56 +0000 (17:23 +0000)]
tree-outof-ssa.c (edge_leader, [...]): Use VEC instead of VARRAY.

* tree-outof-ssa.c (edge_leader, stmt_list,
analyze_edges_for_bb): Use VEC instead of VARRAY.
(init_analayze_edges_for_bb, fini_analayze_edges_for_bb): New.
(perform_edge_inserts): Call init_analayze_edges_for_bb and
fini_analayze_edges_for_bb.

From-SVN: r99222

19 years agoFix the Xassembler and Xpreprocessor options, which have never worked right.
James E Wilson [Wed, 4 May 2005 17:20:43 +0000 (17:20 +0000)]
Fix the Xassembler and Xpreprocessor options, which have never worked right.

PR driver/21112
* gcc.c (process_command): In the second argv scan loop, ignore
Xassembler and Xpreprocessor, along with their argument.

From-SVN: r99221

19 years agotree-flow-inline.h, [...]: Likewise.
Kazu Hirata [Wed, 4 May 2005 17:15:31 +0000 (17:15 +0000)]
tree-flow-inline.h, [...]: Likewise.

* tree-flow-inline.h, tree-ssa-operands.c,
tree-ssa-operands.h, tree-ssa-opfinalize.h:
Likewise. tree-vn.c: Fix comment typos.
* doc/passes.texi, doc/tree-ssa.texi: Fix typos.

From-SVN: r99220

19 years agotm.texi (Target Hooks): Document TARGET_RESOLVE_OVERLOADED_BUILTIN.
Paolo Bonzini [Wed, 4 May 2005 16:27:21 +0000 (16:27 +0000)]
tm.texi (Target Hooks): Document TARGET_RESOLVE_OVERLOADED_BUILTIN.

2005-05-04  Paolo Bonzini  <bonzini@gnu.org>

* doc/tm.texi (Target Hooks): Document
TARGET_RESOLVE_OVERLOADED_BUILTIN.

From-SVN: r99219

19 years agoMakefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from STAGE_HOST_EXPORTS.
Paolo Bonzini [Wed, 4 May 2005 15:41:56 +0000 (15:41 +0000)]
Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from STAGE_HOST_EXPORTS.

2005-05-04  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from
STAGE_HOST_EXPORTS.
(configure, all): Add bootstrap support.
(Host modules, target modules): Pass post-stage1 flags and exports.
(Top-level bootstrap): Remove bootstrap rules, expanded elsewhere.
* Makefile.in: Regenerate.

From-SVN: r99218

19 years agoMakefile.in: Change dependencies on target.h to $(TARGET_H).
Paul Brook [Wed, 4 May 2005 15:05:03 +0000 (15:05 +0000)]
Makefile.in: Change dependencies on target.h to $(TARGET_H).

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

* Makefile.in: Change dependencies on target.h to $(TARGET_H).

From-SVN: r99217

19 years agotree-ssa-loop-ivopts.c (rewrite_address_base): Don't call update_stmt.
Kazu Hirata [Wed, 4 May 2005 13:57:40 +0000 (13:57 +0000)]
tree-ssa-loop-ivopts.c (rewrite_address_base): Don't call update_stmt.

* tree-ssa-loop-ivopts.c (rewrite_address_base): Don't call
update_stmt.

From-SVN: r99216

19 years agoloop-unroll.c (var_to_expand, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Wed, 4 May 2005 06:10:21 +0000 (06:10 +0000)]
loop-unroll.c (var_to_expand, [...]): Use VEC instead of VARRAY.

* loop-unroll.c (var_to_expand, analyze_insn_to_expand_var,
get_expansion, expand_var_during_unrolling,
insert_var_expansion_initialization,
combine_var_copies_in_loop_exit, release_var_copies): Use VEC
instead of VARRAY.

From-SVN: r99211

19 years agodwarf2out.c (incomplete_types, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Wed, 4 May 2005 06:03:00 +0000 (06:03 +0000)]
dwarf2out.c (incomplete_types, [...]): Use VEC instead of VARRAY.

* dwarf2out.c (incomplete_types, retry_incomplete_types,
gen_struct_or_union_type_die, dwarf2out_init): Use VEC instead
of VARRAY.

From-SVN: r99210

19 years agocp-tree.h (language_function): Change the type of x_local_names to VEC.
Kazu Hirata [Wed, 4 May 2005 06:00:13 +0000 (06:00 +0000)]
cp-tree.h (language_function): Change the type of x_local_names to VEC.

* cp-tree.h (language_function): Change the type of
x_local_names to VEC.
* decl.c (push_local_name): Adjust uses of local_names.

From-SVN: r99209

19 years agoVolatileImage.java: Document.
Thomas Fitzsimmons [Wed, 4 May 2005 03:18:49 +0000 (03:18 +0000)]
VolatileImage.java: Document.

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

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

From-SVN: r99208

19 years ago[multiple changes]
Andrew Pinski [Wed, 4 May 2005 01:52:06 +0000 (01:52 +0000)]
[multiple changes]

2004-05-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/15618
        * fold-const.c (fold_widened_comparison): Treat BOOLEAN_TYPE
        the same as INTEGER_TYPE.
        (fold_binary): Fold "bool_var != 0" to bool_var.
        Fold "bool_var == 1" to bool_var.
2005-05-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/15618
        * gcc.dg/tree-ssa/bool-[1-9].c: New tests.

From-SVN: r99207

19 years agore PR java/20309 (gcjh needs a -force option)
Thomas Fitzsimmons [Wed, 4 May 2005 01:46:41 +0000 (01:46 +0000)]
re PR java/20309 (gcjh needs a -force option)

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

        PR java/20309
        * Make-lang.in (java): Add gjnih.
        (JAVA_TARGET_INDEPENDENT_BIN_TOOLS): Likewise.
        (GJNIH_OBJS): New variable.
        (gjnih$(exeext)): New target.
        (JAVA_MANFILES): Add gjnih.1.
        (java.uninstall): Add gjnih.1.
        (java.mostlyclean): Add gjnih.
        (java.maintainer-clean): Add gjnih.1.
        (java/gjavah-jni.o): New target.
        (.INTERMEDIATE): Add gjnih.pod.
        (gjnih.pod): New target.
        * config-lang.in (stagestuff): Add gjnih.
        * gcj.texi (Top): Add gjnih node.
        (Invoking gcjh): Add descriptions of -force, -old, -trace, -J and
        -bootclasspath options.
        (Invoking gjnih): New node.
        * gjavah.c Initialize flag_jni to 1 if JNI_DEFAULT is defined.
        (TOOLNAME): New macro.
        (error): Replace hard-coded gcjh with TOOLNAME.
        (process_file): Likewise.
        (usage): Likewise.
        (version): Likewise.
        (help): Likewise.  Add help output for -force, -old, -trace and -J
        options.
        (OPT_FORCE, OPT_OLD, OPT_TRACE): New macros.
        (options): Add force, old, trace and J fields.
        (main): Handle -force, -old, -trace and -J options.

From-SVN: r99206

19 years agore PR middle-end/21318 (ICE in instantiate_virtual_regs_in_insn)
Richard Henderson [Wed, 4 May 2005 01:38:14 +0000 (18:38 -0700)]
re PR middle-end/21318 (ICE in instantiate_virtual_regs_in_insn)

        PR middle-end/21318
        * function.c (instantiate_virtual_regs_in_insn): Use the mode
        from recog_data instead of insn_data.

From-SVN: r99205

19 years agocommon.opt (fdiagnostics-show-option): No variable is needed.
DJ Delorie [Wed, 4 May 2005 01:36:13 +0000 (21:36 -0400)]
common.opt (fdiagnostics-show-option): No variable is needed.

* common.opt (fdiagnostics-show-option): No variable is needed.
* diagnostic.h (diagnostic_context): Add show_option_requested flag.
* diagnostic.c (diagnostic_initialize): Initialize show_option_requested.
(diagnostic_report_diagnostic): Test for enabled diagnostics here.
Save and restore original message format.  Use flag in context
instead of global.
(warning): Don't test for enabled warnings here.
* opts.c (common_handle_option): Handle -fdiagnostics-show-option
here.

From-SVN: r99204

19 years agoxm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN.
Kelley Cook [Wed, 4 May 2005 01:14:51 +0000 (01:14 +0000)]
xm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN.

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

* config/m32r/xm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN.
* config/m32r/xm-linux.h: Don't undefine HOST_WORDS_BIG_ENDIAN.
* mips-tfile.c: Use WORDS_BIG_ENDIAN instead of HOST_WORDS_BIG_ENDIAN.
* aclocal.m4: Don't include accross.m4.
* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
* configure, config.in: Regenerate.

From-SVN: r99203

19 years agoDaily bump.
GCC Administrator [Wed, 4 May 2005 00:16:24 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99200.2