gcc.git
19 years agore PR java/19285 (Interfaces not initialized by static field access)
Andrew Haley [Fri, 29 Apr 2005 18:35:36 +0000 (18:35 +0000)]
re PR java/19285 (Interfaces not initialized by static field access)

2005-04-27  Andrew Haley  <aph@redhat.com>

        PR java/19285
        * prims.cc (_Jv_ResolvePoolEntry): New function.
        * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
        * link.cc (_Jv_Linker::find_field): New arg: found_class.
        (resolve_pool_entry): Initialize the class in which a field is
        found.
        (link_symbol_table): Pass new arg to found_class.

From-SVN: r99006

19 years agoxtensa.h (OPTIMIZATION_OPTIONS): Define to disable flag_reorder_blocks.
Bob Wilson [Fri, 29 Apr 2005 16:40:52 +0000 (16:40 +0000)]
xtensa.h (OPTIMIZATION_OPTIONS): Define to disable flag_reorder_blocks.

* config/xtensa/xtensa.h (OPTIMIZATION_OPTIONS): Define to disable
flag_reorder_blocks.

From-SVN: r99000

19 years agore PR tree-optimization/21030 (ICE in set_value_range building 176.gcc with -O2)
Kazu Hirata [Fri, 29 Apr 2005 16:23:18 +0000 (16:23 +0000)]
re PR tree-optimization/21030 (ICE in set_value_range building 176.gcc with -O2)

gcc/
PR tree-optimization/21030
* tree-vrp.c (adjust_range_with_scev): Do not create invalid
ranges where VR->MAX is smaller than VR->MIN.

testsuite/
PR tree-optimization/21030
* gcc.dg/tree-ssa/pr21030.c: New.

From-SVN: r98999

19 years agore PR tree-optimization/21272 (SSA_NAME def follows use with -ftree-vectorize)
Devang Patel [Fri, 29 Apr 2005 16:10:12 +0000 (09:10 -0700)]
re PR tree-optimization/21272 (SSA_NAME def follows use with -ftree-vectorize)

        PR tree-optimization/21272
        * tree-if-conv.c (find_phi_replacement_condition): Fix think-o.

        * gcc.dg/vect/vect-ifcvt-10.c: New.

From-SVN: r98998

19 years ago* tree-flow-inline.h, tree-ssa-operands.c: Fix comment typos.
Kazu Hirata [Fri, 29 Apr 2005 15:34:45 +0000 (15:34 +0000)]
* tree-flow-inline.h, tree-ssa-operands.c: Fix comment typos.

From-SVN: r98994

19 years ago[multiple changes]
Jakub Jelinek [Fri, 29 Apr 2005 15:31:39 +0000 (17:31 +0200)]
[multiple changes]

2005-04-29  Jakub Jelinek  <jakub@redhat.com>

PR fortran/13082
PR fortran/18824
* trans-expr.c (gfc_conv_variable): Handle return values in functions
with alternate entry points.
* resolve.c (resolve_entries): Remove unnecessary string termination
after snprintf.  Set result of entry master.
If all entries have the same type, set entry master's type
to that common type, otherwise set mixed_entry_master attribute.
* trans-types.c (gfc_get_mixed_entry_union): New function.
(gfc_get_function_type): Use it for mixed_entry_master functions.
* gfortran.h (symbol_attribute): Add mixed_entry_master bit.
* decl.c (gfc_match_entry): Set entry->result properly for
function ENTRY.
* trans-decl.c (gfc_get_symbol_decl): For entry_master, skip over
__entry argument.
(build_entry_thunks): Handle return values in entry thunks.
Clear BT_CHARACTER's ts.cl->backend_decl, so that it is not
shared between multiple contexts.
(gfc_get_fake_result_decl): Use DECL_ARGUMENTS from
current_function_decl instead of sym->backend_decl.  Skip over
entry master's entry id argument.  For mixed_entry_master entries or
their results, return a COMPONENT_REF of the fake result.
(gfc_trans_deferred_vars): Don't warn about missing return value if
at least one entry point uses RESULT.
(gfc_generate_function_code): For entry master returning
CHARACTER, copy ts.cl->backend_decl to all entry result syms.
* trans-array.c (gfc_trans_dummy_array_bias): Don't consider return
values optional just because they are in entry master.

* gfortran.dg/entry_4.f90: New test.
* gfortran.fortran-torture/execute/entry_1.f90: New test.
* gfortran.fortran-torture/execute/entry_2.f90: New test.
* gfortran.fortran-torture/execute/entry_3.f90: New test.
* gfortran.fortran-torture/execute/entry_4.f90: New test.
* gfortran.fortran-torture/execute/entry_5.f90: New test.
* gfortran.fortran-torture/execute/entry_6.f90: New test.
* gfortran.fortran-torture/execute/entry_7.f90: New test.

2005-04-29  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>

* gfortran.fortran-torture/execute/entry_8.f90: New test.

From-SVN: r98993

19 years agotree-flow-inline.h: Fix a comment typo.
Kazu Hirata [Fri, 29 Apr 2005 15:06:07 +0000 (15:06 +0000)]
tree-flow-inline.h: Fix a comment typo.

* tree-flow-inline.h: Fix a comment typo.
* doc/tree-ssa.texi: Fix a typo.

From-SVN: r98992

19 years agofr30.c (fr30_expand_prologue): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Fri, 29 Apr 2005 14:45:43 +0000 (14:45 +0000)]
fr30.c (fr30_expand_prologue): Use gcc_assert and gcc_unreachable as appropriate.

* config/fr30/fr30.c (fr30_expand_prologue): Use gcc_assert and
gcc_unreachable as appropriate.
(fr30_expand_epilogue, fr30_setup_incoming_varargs,
fr30_print_operand, fr30_move_double): Likewise.
* config/fr30/fr30.md (*movsi_internal, *movsf_internal): Likewise.

From-SVN: r98991

19 years agoconfigure.ac: Check for ftruncate and chsize.
Francois-Xavier Coudert [Fri, 29 Apr 2005 14:24:04 +0000 (16:24 +0200)]
configure.ac: Check for ftruncate and chsize.

* configure.ac: Check for ftruncate and chsize.
* io/unix.c (fd_truncate): Provide chsize as alternative to
ftruncate.
* config.h.in: Regenerate.
* configure: Regenerate.

From-SVN: r98989

19 years agoarm.h (ARM_EABI_CTORS_SECTION_OP): Do not define if a definition has already been...
Mark Mitchell [Fri, 29 Apr 2005 14:22:10 +0000 (14:22 +0000)]
arm.h (ARM_EABI_CTORS_SECTION_OP): Do not define if a definition has already been provided.

* config/arm/arm.h (ARM_EABI_CTORS_SECTION_OP): Do not define if a
definition has already been provided.
(ARM_EABI_DTORS_SECTION_OP): Likewise.
* config/arm/symbian.h (ARM_EABI_CTORS_SECTION_OP): Define.
(ARM_EABI_DTORS_SECTION_OP): Likewise.

From-SVN: r98988

19 years agos390.md ("prologue_tpf", [...]): Alter trace hooks calls to improve performance.
Jim Tison [Fri, 29 Apr 2005 14:17:15 +0000 (14:17 +0000)]
s390.md ("prologue_tpf", [...]): Alter trace hooks calls to improve performance.

2005-04-29  Jim Tison  <jtison@us.ibm.com>

        * config/s390/s390.md ("prologue_tpf", "epilogue_tpf"): Alter
        trace hooks calls to improve performance.

From-SVN: r98987

19 years agocrtstuff.c: Handle targets that use .init_array.
Julian Brown [Fri, 29 Apr 2005 14:09:45 +0000 (14:09 +0000)]
crtstuff.c: Handle targets that use .init_array.

* crtstuff.c: Handle targets that use .init_array.
* function.c (HAS_INIT_SECTION): Do not define. Instead, make sure
that INVOKE__main is set correctly.
(expand_main_function): Test INVOKE__main.
* libgcc2.c: Do not define __main when using .init_array.
* config/arm/arm.c (arm_elf_asm_constructor): New function.
* config/arm/arm.h (CTORS_SECTION_ASM_OP): Define, with specialized
libgcc version.
(DTORS_SECTION_ASM_OP): Likewise.
(CTOR_LIST_BEGIN): Define specially when in libgcc.
(CTOR_LIST_END): Likewise.
(DTOR_LIST_BEGIN): Likewise.
(DTOR_LIST_END): Likewise.
* config/arm/bpapi.h (INIT_SECTION_ASM_OP): Do not define it.
(FINI_SECTION_ASM_OP): Likewise.
(INIT_ARRAY_SECTION_ASM_OP): Define.
(FINI_ARRAY_SECTION_ASM_OP): Likewise.
* config/arm/elf.h (TARGET_ASM_CONSTRUCTOR): Define.
(SUPPORTS_INIT_PRIORITY): Evaluate to false for EABI based targets.
* doc/tm.texi (INIT_ARRAY_SECTION_ASM_OP): Document.
(FINI_ARRAY_SECTION_ASM_OP): Likewise.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r98986

19 years agoconfigure: Regenerate.
Paolo Bonzini [Fri, 29 Apr 2005 13:54:56 +0000 (13:54 +0000)]
configure: Regenerate.

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

* configure: Regenerate.

config:
2005-04-29  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_GNAT): Remove stray break.

From-SVN: r98985

19 years agoFix typo in previous patch.
Ralf Corsepius [Fri, 29 Apr 2005 13:15:01 +0000 (15:15 +0200)]
Fix typo in previous patch.

From-SVN: r98984

19 years agoconfigure.ac: Add i*86-*-rtems*, sparc*-*-rtems*, powerpc-*rtems*, arm*-*-rtems*...
Ralf Corsepius [Fri, 29 Apr 2005 13:03:43 +0000 (15:03 +0200)]
configure.ac: Add i*86-*-rtems*, sparc*-*-rtems*, powerpc-*rtems*, arm*-*-rtems*, sh-*-rtems*.

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

* configure.ac: Add i*86-*-rtems*, sparc*-*-rtems*,
powerpc-*rtems*, arm*-*-rtems*, sh-*-rtems*.
* configure: Regenerate.

From-SVN: r98983

19 years agom68k.c (m68k_initial_elimination_offset): Use gcc_assert and gcc_unreachable as appro...
Nathan Sidwell [Fri, 29 Apr 2005 10:01:52 +0000 (10:01 +0000)]
m68k.c (m68k_initial_elimination_offset): Use gcc_assert and gcc_unreachable as appropriate.

* config/m68k/m68k.c (m68k_initial_elimination_offset): Use
gcc_assert and gcc_unreachable as appropriate.
(output_dbcc_and_branch, output_scc_di, legitimize_pic_address,
const_int_cost, output_move_const_into_data_reg,
output_move_qimode, output_move_double, find_addr_reg,
print_operand, print_operand_address): Likewise.
* config/m68k/m68k.md (adddi3, subdi3, negsf2, negdf2, abssf2,
absdf2, sordered, sunordered, suneq, sunge, sungt, sunle, sunlt,
sltgt, bordered, bunordered, buneq, bunge, bungt, bunle, bunlt,
bltgt, *bordered_rev, *bunordered_rev, *buneq_rev, *bunge_rev,
*bunle_rev, *bunlt_rev, *bltgt_rev, negxf2, absxf2,
conditional_trap): Likewise.
* config/m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Remove unreachable code.

From-SVN: r98981

19 years agogfortran.h (gfc_namespace): Add seen_implicit_none field, Tobias forgot this in previ...
Francois-Xavier Coudert [Fri, 29 Apr 2005 07:23:39 +0000 (09:23 +0200)]
gfortran.h (gfc_namespace): Add seen_implicit_none field, Tobias forgot this in previous commit.

* gfortran.h (gfc_namespace): Add seen_implicit_none field,
Tobias forgot this in previous commit.

From-SVN: r98980

19 years agoxtensa.c (gen_int_relational): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Fri, 29 Apr 2005 07:04:49 +0000 (07:04 +0000)]
xtensa.c (gen_int_relational): Use gcc_assert and gcc_unreachable as appropriate.

* config/xtensa/xtensa.c (gen_int_relational): Use gcc_assert and
gcc_unreachable as appropriate.
(gen_conditional_move, xtensa_split_operand_pair,
xtensa_split_operand_pair, xtensa_copy_incoming_a7,
xtensa_copy_incoming_a7, xtensa_copy_incoming_a7,
xtensa_copy_incoming_a7, xtensa_output_literal,
xtensa_output_literal, xtensa_output_literal): Likewise.
* config/xtensa/xtensa.h (INITIAL_ELIMINATION_OFFSET): Likewise.
* config/xtensa/xtensa.md (*btrue, *bfalse, *ubtrue, *ubfalse,
*bittrue, *bitfalse, *masktrue, *maskfalse, movsicc_internal0,
movsicc_internal1, movsfcc_internal0,
movsfcc_internal1): Likewise.

From-SVN: r98979

19 years ago2005-04-29 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 29 Apr 2005 06:54:47 +0000 (06:54 +0000)]
2005-04-29  Michael Koch  <konqueror@gmx.de>

* java/nio/charset/Charset.java
(provider): Reformatted.

From-SVN: r98978

19 years ago2005-04-29 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 29 Apr 2005 06:26:55 +0000 (06:26 +0000)]
2005-04-29  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/http/HTTPConnection.java:
(userAgent): Initialize from system properties.
(initUserAgent): Removed.

From-SVN: r98977

19 years agoResourceBundle.java (getObject): Clarify MissingResourceException detailed message.
Mark Wielaard [Fri, 29 Apr 2005 06:13:11 +0000 (06:13 +0000)]
ResourceBundle.java (getObject): Clarify MissingResourceException detailed message.

2005-04-29  Mark Wielaard  <mark@klomp.org>

* java/util/ResourceBundle.java (getObject): Clarify
MissingResourceException detailed message.
(tryBundle(String,ClassLoader)): Likewise.

From-SVN: r98976

19 years ago2005-04-29 Robert Schuster <thebohemian@gmx.net>
Robert Schuster [Fri, 29 Apr 2005 06:11:27 +0000 (06:11 +0000)]
2005-04-29  Robert Schuster  <thebohemian@gmx.net>

* java/beans/FeatureDescriptor.java:
(getShortDescription): Implemented fallback mechanism and fixed
documentation (fixes bug #12637).
(getDisplayName): Dito.

2005-04-29  Robert Schuster  <thebohemian@gmx.net>

* java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
will now be set correctly.
(flushCaches): Now flushes all cached intermediate data.

From-SVN: r98975

19 years agotrans-expr.c (gfc_conv_expr_present): Fix broken assert.
Paul Brook [Fri, 29 Apr 2005 02:34:11 +0000 (02:34 +0000)]
trans-expr.c (gfc_conv_expr_present): Fix broken assert.

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

* trans-expr.c (gfc_conv_expr_present): Fix broken assert.  Update
comment.

From-SVN: r98968

19 years agoFix problems noticed while reviewing patch from Alex Oliva.
James E Wilson [Fri, 29 Apr 2005 01:29:04 +0000 (01:29 +0000)]
Fix problems noticed while reviewing patch from Alex Oliva.

* config/i386/i386.h (HI_REGISTER_NAMES): Fix typos in comment.
(ADDITIONAL_REGISTER_NAMES): Delete obsolete mmx register entries.

From-SVN: r98966

19 years agoopt-functions.awk (var_set): Emit proper initializer for non-target bitfields.
DJ Delorie [Fri, 29 Apr 2005 00:47:27 +0000 (20:47 -0400)]
opt-functions.awk (var_set): Emit proper initializer for non-target bitfields.

* opt-functions.awk (var_set): Emit proper initializer for
non-target bitfields.

From-SVN: r98962

19 years ago* intrinsics/rename.c: Add missing #includes.
Tobias Schlüter [Fri, 29 Apr 2005 00:46:36 +0000 (02:46 +0200)]
* intrinsics/rename.c: Add missing #includes.

From-SVN: r98961

19 years agodbxout.c (have_used_extensions): Remove.
Devang Patel [Fri, 29 Apr 2005 00:27:44 +0000 (17:27 -0700)]
dbxout.c (have_used_extensions): Remove.

      * dbxout.c (have_used_extensions): Remove.
      (dbxout_type_fileds, dbxout_type, dbxout_symbol): Remove use of
      have_used_extensions.

From-SVN: r98958

19 years agoDaily bump.
GCC Administrator [Fri, 29 Apr 2005 00:16:22 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r98955.2

19 years agogfortran.h (gfc_namespace): Add seen_implicit_none field.
Tobias Schlüter [Fri, 29 Apr 2005 00:13:08 +0000 (02:13 +0200)]
gfortran.h (gfc_namespace): Add seen_implicit_none field.

fortran/
* gfortran.h (gfc_namespace): Add seen_implicit_none field.
* symbol.c (gfc_set_implicit_none): Give error if there's a previous
IMPLICIT NONE, set seen_implicit_none.
(gfc_merge_new_implicit): Error if there's an IMPLICIT NONE statement.
testsuite/
* gfortran.dg/implicit_4.f90: New test.

From-SVN: r98952

19 years agotarget-supports.exp (check_profiling_available): Return false for xtensa-*-elf.
Bob Wilson [Fri, 29 Apr 2005 00:06:26 +0000 (00:06 +0000)]
target-supports.exp (check_profiling_available): Return false for xtensa-*-elf.

* lib/target-supports.exp (check_profiling_available): Return
false for xtensa-*-elf.

From-SVN: r98950

19 years agofortran-torture.exp (fortran-torture.exp): Catch error if file cannot be deleted.
David Billinghurst [Thu, 28 Apr 2005 23:58:31 +0000 (23:58 +0000)]
fortran-torture.exp (fortran-torture.exp): Catch error if file cannot be deleted.

2004-04-29  David Billinghurst (David.Billinghurst@riotinto.com)

* lib/fortran-torture.exp (fortran-torture.exp): Catch
error if file cannot be deleted.

From-SVN: r98949

19 years agoFix install doc problems reported by Jean-Paul Rigault
James E Wilson [Thu, 28 Apr 2005 22:53:21 +0000 (22:53 +0000)]
Fix install doc problems reported by Jean-Paul Rigault

Fix install doc problems reported by Jean-Paul Rigault
* doc/install.texi: Update -enable-languages info.  Correct path to
html docs.

From-SVN: r98947

19 years agotype_traits (is_convertible): Adjust according to the resolution of TR1 issue 3.20.
Paolo Carlini [Thu, 28 Apr 2005 22:35:09 +0000 (22:35 +0000)]
type_traits (is_convertible): Adjust according to the resolution of TR1 issue 3.20.

2005-04-29  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits (is_convertible): Adjust according
to the resolution of TR1 issue 3.20.
* testsuite/tr1/4_metaprogramming/relationships_between_types/
is_convertible/is_convertible.cc: Add tests.

From-SVN: r98944

19 years agogfortran.h (gfc_gsymbol): Make name a const char *.
Tobias Schlüter [Thu, 28 Apr 2005 21:09:04 +0000 (23:09 +0200)]
gfortran.h (gfc_gsymbol): Make name a const char *.

* gfortran.h (gfc_gsymbol): Make name a const char *.
* symbol.c (gfc_get_gsymbol): Allocate gsymbol name via
gfc_get_string.

From-SVN: r98942

19 years ago2005-04-28 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 28 Apr 2005 21:02:40 +0000 (21:02 +0000)]
2005-04-28  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java
(aton): Fixed javadoc.
(lookup): Likewise.

From-SVN: r98941

19 years agooptc-gen.awk (END): Make sure no variable is defined more than once.
DJ Delorie [Thu, 28 Apr 2005 20:52:12 +0000 (16:52 -0400)]
optc-gen.awk (END): Make sure no variable is defined more than once.

* optc-gen.awk (END): Make sure no variable is defined more
than once.
* opth-gen.awk (END): Allocate bits on a per-variable basis.
Allow for bitfield variables other than target_flags.
* doc/options.text (Mask): Document that you may specify a
variable other than target_flags.

From-SVN: r98940

19 years ago[multiple changes]
Michael Koch [Thu, 28 Apr 2005 20:47:50 +0000 (20:47 +0000)]
[multiple changes]

2005-04-28  Tom Tromey  <tromey@redhat.com>

* javax/swing/Timer.java
(drainEvents, queueEvent): Now package-private.

2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>

* javax/swing/Timer.java
(constructor): Assigning initialDelay.

2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>

* javax/swing/Timer.java
(Waker.run): firing the first action event.

From-SVN: r98939

19 years agoPrevent out-of-bounds array access in reload.
Martin Koegler [Thu, 28 Apr 2005 20:36:56 +0000 (22:36 +0200)]
Prevent out-of-bounds array access in reload.

PR rtl-optimization/18877
* reload.c (decompose) <case REG, case SUBREG>: Handle pseudo reg
number in val.start.

From-SVN: r98938

19 years agoTimer.java: Reordered all fields and methods, Added more javadocs.
Michael Koch [Thu, 28 Apr 2005 20:25:43 +0000 (20:25 +0000)]
Timer.java: Reordered all fields and methods, Added more javadocs.

2005-04-28  Michael Koch  <konqueror@gmx.de>

* javax/swing/Timer.java: Reordered all fields and methods,
Added more javadocs.

From-SVN: r98936

19 years ago* AUTHORS, COPYING, INSTALL, NEWS, README: Remove.
Tobias Schlüter [Thu, 28 Apr 2005 20:25:11 +0000 (22:25 +0200)]
* AUTHORS, COPYING, INSTALL, NEWS, README: Remove.

From-SVN: r98935

19 years agore PR target/20813 (ICE in gen_reg_rtx for 3 spec tests)
David Edelsohn [Thu, 28 Apr 2005 18:52:21 +0000 (18:52 +0000)]
re PR target/20813 (ICE in gen_reg_rtx for 3 spec tests)

PR target/20813
* config/rs6000/aix43.h (SUBSUBTARGET_SWITCHES, aix64): Add
MASK_PPC_GFXOPT.
* config/rs6000/aix51.h (SUBSUBTARGET_SWITCHES, aix64): Same.
* config/rs6000/aix52.h (SUBSUBTARGET_SWITCHES, aix64): Same.
* config/rs6000/sysv4.h (SUBTARGET_SWITCHES, 64): Same.

From-SVN: r98934

19 years agoTimer.java: Javadocs merged from GNU classpath.
Michael Koch [Thu, 28 Apr 2005 18:28:37 +0000 (18:28 +0000)]
Timer.java: Javadocs merged from GNU classpath.

2005-04-28  Michael Koch  <konqueror@gmx.de>

* javax/swing/Timer.java: Javadocs merged
from GNU classpath.

From-SVN: r98932

19 years ago[multiple changes]
Michael Koch [Thu, 28 Apr 2005 17:25:02 +0000 (17:25 +0000)]
[multiple changes]

2005-04-28  Jeroen Frijters  <jeroen@frijters.net>

* gnu/java/net/protocol/file/Connection.java
(StaticData): New inner class to contain statics.
(connect, getHeaderField): Modified to use StaticData.

2005-04-28  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/file/Connection.java
(lineSeparator): Initialize with SystemProperties.getProperty().

From-SVN: r98929

19 years agopr18178.C, [...]: Use cleanup-tree-dump.
Kazu Hirata [Thu, 28 Apr 2005 16:38:13 +0000 (16:38 +0000)]
pr18178.C, [...]: Use cleanup-tree-dump.

* g++.dg/tree-ssa/pr18178.C, gcc.dg/tree-ssa/20030821-1.c,
gcc.dg/tree-ssa/20050314-1.c, gcc.dg/tree-ssa/alias-1.c,
gcc.dg/tree-ssa/phi-opt-1.c, gcc.dg/tree-ssa/phi-opt-2.c,
gcc.dg/tree-ssa/phi-opt-3.c, gcc.dg/tree-ssa/phi-opt-4.c,
gcc.dg/tree-ssa/phi-opt-5.c, gcc.dg/tree-ssa/pr18133-1.c,
gcc.dg/tree-ssa/pr18133-2.c, gcc.dg/tree-ssa/pr18134.c,
gcc.dg/tree-ssa/pr20470.c, gcc.dg/tree-ssa/pr20657.c,
gcc.dg/tree-ssa/pr20702.c, gcc.dg/tree-ssa/pr20913.c,
gcc.dg/tree-ssa/pr21001.c, gcc.dg/tree-ssa/stdarg-1.c,
gcc.dg/tree-ssa/stdarg-2.c, gcc.dg/tree-ssa/stdarg-3.c,
gcc.dg/tree-ssa/stdarg-4.c, gcc.dg/tree-ssa/stdarg-5.c,
gcc.dg/tree-ssa/structopt-1.c, gcc.dg/tree-ssa/structopt-2.c,
gcc.dg/tree-ssa/structopt-3.c: Use cleanup-tree-dump.

From-SVN: r98928

19 years agoarm.c (legitimize_pic_address): Fix sense of assertion test for creating pseudos...
Richard Earnshaw [Thu, 28 Apr 2005 14:43:38 +0000 (14:43 +0000)]
arm.c (legitimize_pic_address): Fix sense of assertion test for creating pseudos when the base offset is too large.

* arm.c (legitimize_pic_address): Fix sense of assertion test for
creating pseudos when the base offset is too large.

From-SVN: r98924

19 years agoglobal.c (earlyclobber_regclass): Change the type to VEC(int,heap).
Kazu Hirata [Thu, 28 Apr 2005 14:18:29 +0000 (14:18 +0000)]
global.c (earlyclobber_regclass): Change the type to VEC(int,heap).

* global.c (earlyclobber_regclass): Change the type to
VEC(int,heap).
(check_earlyclobber): Update uses of earlyclobber_regclass.
(mark_reg_use_for_earlyclobber): Likewise.
(calculate_local_reg_bb_info): Allocate and free
earlyclobber_regclass using the VEC API.

From-SVN: r98922

19 years agore PR fortran/20865 (statement function shall not be supplied as procedure argument)
Francois-Xavier Coudert [Thu, 28 Apr 2005 11:56:08 +0000 (13:56 +0200)]
re PR fortran/20865 (statement function shall not be supplied as procedure argument)

PR fortran/20865
* resolve.c (resolve_actual_arglist): Issue an error if a statement
functions is used as actual argument.
* gfortran.dg/pr20865.f90: New test.

From-SVN: r98919

19 years agotree-ssa-alias.c (push_fields_onto_fieldstack): Remove bogus assert.
Nathan Sidwell [Thu, 28 Apr 2005 07:58:29 +0000 (07:58 +0000)]
tree-ssa-alias.c (push_fields_onto_fieldstack): Remove bogus assert.

* tree-ssa-alias.c (push_fields_onto_fieldstack): Remove bogus
assert.

From-SVN: r98916

19 years agoPR libstdc++/21244 (cont)
Paolo Carlini [Thu, 28 Apr 2005 07:50:48 +0000 (07:50 +0000)]
PR libstdc++/21244 (cont)

2005-04-28  Paolo Carlini  <pcarlini@suse.de>
    Gabriel Dos Reis  <gdr@integrable-solutions.net>

PR libstdc++/21244 (cont)
* include/bits/cpp_type_traits.h (struct __traitor): Convert
to bool the values.
* include/bits/stl_algo.h: Convert _S_threshold to int.
* include/bits/stl_bvector.h: Revert previous change, convert
_S_word_bit to int.
* include/debug/formatter.h: Convert __max_parameters to
size_t.
* include/ext/mt_allocator.h: Likewise for _S_chunk_size.
* include/ext/pool_allocator.h: Likewise for _S_max_bytes and
_S_align.
* include/ext/rope: Likewise for _S_alloc_granularity; convert
_S_max_rope_depth to int.
* include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
_S_max_rope_depth to int; _S_copy_max to size_t.

Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r98915

19 years agoattribs.c, [...]: Update copyright.
Kazu Hirata [Thu, 28 Apr 2005 05:38:50 +0000 (05:38 +0000)]
attribs.c, [...]: Update copyright.

* attribs.c, c-pragma.c, caller-save.c, cfghooks.h,
coverage.c, cselib.h, domwalk.c, domwalk.h, errors.c,
errors.h, gcov-dump.c, gcov-io.c, gcov-io.h, gen-protos.c,
genattrtab.h, genextract.c, gthr-win32.h, insn-notes.def,
integrate.c, lambda-mat.c, lambda.h, libgcov.c, local-alloc.c,
machmode.def, mips-tfile.c, params.c, pretty-print.c,
print-rtl.c, protoize.c, regmove.c, sched-vis.c, tree-chrec.h,
tree-data-ref.h, vec.h, config/darwin-c.c, config/sol2-c.c,
config/sol2.c, config/arm/arm-cores.def, config/arm/cirrus.md,
config/arm/symbian.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/i386/cygming.h, config/i386/djgpp.h,
config/i386/lynx.h, config/i386/netware.c,
config/i386/winnt.c, config/ia64/ia64-c.c,
config/iq2000/iq2000.c, config/m32r/little.h,
config/m68k/m68k-protos.h, config/m68k/m68k.h,
config/m68k/m68k.md, config/mcore/mcore.c,
config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.md,
config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
config/mn10300/mn10300.h, config/ns32k/netbsd.h,
config/ns32k/ns32k.c, config/ns32k/ns32k.h,
config/pa/pa-hpux11.h, config/pdp11/pdp11.c,
config/pdp11/pdp11.h, config/rs6000/darwin.h,
config/rs6000/default64.h, config/rs6000/rs6000-c.c,
config/s390/2064.md, config/s390/2084.md,
config/s390/s390-modes.def, config/s390/s390-protos.h,
config/s390/tpf.h, config/sh/sh.h, config/sh/symbian.c,
config/stormy16/stormy16.c, config/vax/vax-protos.h,
config/vax/vax.c, config/vax/vax.h,
config/xtensa/lib1funcs.asm, config/xtensa/xtensa.md: Update
copyright.

From-SVN: r98914

19 years agobt-load.c, [...]: Use JUMP_P, LABEL_P, REG_P, MEM_P, NONJUMP_INSN_P, and INSN_P where...
Kazu Hirata [Thu, 28 Apr 2005 05:03:09 +0000 (05:03 +0000)]
bt-load.c, [...]: Use JUMP_P, LABEL_P, REG_P, MEM_P, NONJUMP_INSN_P, and INSN_P where appropriate.

* bt-load.c, cfgexpand.c, dwarf2out.c, emit-rtl.c, expr.c,
function.c, global.c, lcm.c, loop-invariant.c, optabs.c,
reorg.c, resource.c, tree-ssa-loop-ivopts.c, value-prof.c: Use
JUMP_P, LABEL_P, REG_P, MEM_P, NONJUMP_INSN_P, and INSN_P
where appropriate.

From-SVN: r98913

19 years ago* MAINTAINERS: Add self as darwin maintainer.
Mike Stump [Thu, 28 Apr 2005 04:05:03 +0000 (04:05 +0000)]
* MAINTAINERS: Add self as darwin maintainer.

From-SVN: r98912

19 years ago* tree.h (edge_def): Remove.
Kazu Hirata [Thu, 28 Apr 2005 04:04:46 +0000 (04:04 +0000)]
* tree.h (edge_def): Remove.

From-SVN: r98911

19 years agoFrom Andris Pavenis, approved by Zack Weinberg, for DJGPP build problem.
Andris Pavenis [Thu, 28 Apr 2005 02:38:59 +0000 (05:38 +0300)]
From Andris Pavenis, approved by Zack Weinberg, for DJGPP build problem.

* files.c: Include io.h for DJGPP to get prototype of setmode.

From-SVN: r98910

19 years ago* config.gcc: Obsolete c4x-* and tic4x-*.
Kazu Hirata [Thu, 28 Apr 2005 02:29:10 +0000 (02:29 +0000)]
* config.gcc: Obsolete c4x-* and tic4x-*.

From-SVN: r98908

19 years agomodulo-sched.c, [...]: Use targetm.foo instead of (*targetm.foo).
Kazu Hirata [Thu, 28 Apr 2005 02:25:22 +0000 (02:25 +0000)]
modulo-sched.c, [...]: Use targetm.foo instead of (*targetm.foo).

* modulo-sched.c, tree-stdarg.c: Use targetm.foo instead of
(*targetm.foo).

From-SVN: r98907

19 years agoFix ada enabled "make html".
James E Wilson [Thu, 28 Apr 2005 01:39:03 +0000 (01:39 +0000)]
Fix ada enabled "make html".

* Makefile.in (html): New.

From-SVN: r98906

19 years agoc-typeck.c (build_compound_expr): Correct logic in last change.
Joseph Myers [Thu, 28 Apr 2005 00:45:48 +0000 (01:45 +0100)]
c-typeck.c (build_compound_expr): Correct logic in last change.

* c-typeck.c (build_compound_expr): Correct logic in last change.

testsuite:
* gcc.dg/void-cast-2.c: New test.

From-SVN: r98901

19 years agoFix issues brought up by Nathan's assertify patch for the ia64 backend.
James E Wilson [Thu, 28 Apr 2005 00:40:42 +0000 (17:40 -0700)]
Fix issues brought up by Nathan's assertify patch for the ia64 backend.

* config/ia64/ia64.c (update_set_flags): Delete ppred and pcond
parameters.  Replace conditional move code with assert checking for
ar.lc.  Delete obsolete comments.
(set_src_needs_barrier): Delete cond parameter, and code using it.
(rtx_needs_barrier): Delete initialization of cond.  Fix typo in
assert checking for PR_REGS.  Fix calls to update_set_flags and
set_src_needs_barrier.
(group_barrier_needed): Renamed from group_barrier_needed_p.  Fix all
callers.  Rewrite explanatory comment before the function.
(safe_group_barrier_needed): Renamed from safe_group_barrier_needed_p.
Fix all callers.

From-SVN: r98900

19 years ago* doc/cpp.texi: gcc now implements universal character names.
Mike Stump [Thu, 28 Apr 2005 00:24:11 +0000 (00:24 +0000)]
* doc/cpp.texi: gcc now implements universal character names.

From-SVN: r98898

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

[[Split portion of a mixed commit.]]

From-SVN: r98896.2

19 years agouser.cfg.in: Update to doxygen-1.4.2.
Benjamin Kosnik [Wed, 27 Apr 2005 23:42:49 +0000 (23:42 +0000)]
user.cfg.in: Update to doxygen-1.4.2.

2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>

* docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
* docs/doxygen/doxygroups.cc: Update namespace comments.

From-SVN: r98893

19 years ago* Fix Paul's email address in ChangeLog entry.
Julian Brown [Wed, 27 Apr 2005 22:23:24 +0000 (22:23 +0000)]
* Fix Paul's email address in ChangeLog entry.

From-SVN: r98890

19 years agore PR c/21159 ("no effect" warning despite cast to void*)
Joseph Myers [Wed, 27 Apr 2005 21:41:15 +0000 (22:41 +0100)]
re PR c/21159 ("no effect" warning despite cast to void*)

PR c/21159
* c-typeck.c (build_compound_expr): Don't warn for left-hand side
being a compound expression whose right-hand side is cast to void.

testsuite:
* gcc.dg/void-cast-1.c: New test.

From-SVN: r98886

19 years agoCorrect fixes for various hot/cold partitioning concerns.
Caroline Tice [Wed, 27 Apr 2005 21:35:20 +0000 (21:35 +0000)]
Correct fixes for various hot/cold partitioning concerns.

2005-04-27  Caroline Tice  <ctice@apple.com>

        * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
        Remove targetm.have_named_sections test.
        (fix_edges_for_rarely_executed_code): Likewise.
        (insert_section_boundary_note): Likewise.
        (reorder_basic_blocks): Check partitioning flag before calling
        verify_hot_cold_block_grouping.
        * dbxout.c (dbxout_function_end): Get hot/cold section labels from
        the function struct rather than global variables.
        * dwarf2out.c (COLD_TEXT_SECTION_LABEL): New macro.
        (COLD_END_LABEL): Likewise
        (cold_text_section_label): New static global variable.
        (cold_end_label): Likewise.
        (dwarf2out_switch_text_section): Get hot/cold section labels from
        the function struct rather than global variables; test to make sure
        cfun is defined.
        (output_aranges): Use cold_text_section_label and cold_end_label;
        check partitioning flag before putting out delta.
        (output_ranges): Remove incorrect code attempting to use
        hot/cold labels.
        (output_line_info): Get cold section label from function struct; test
        to make sure cfun is defined.
        (add_location_or_const_value_attribute): Likewise.
        (dwarf2out_var_location): Likewise.
        (dwarf2out_init): Generate cold_text_section_label and cold_end_label;
        write out cold_text_section_label if partition flag is set.
        (dwarf2out_finish): Write out cold_end_label if partition flag is set;
        * function.h (struct function): Add new fields to point to hot/cold
        section labels: hot_section_label, cold_section_label,
        hot_section_end_label and cold_section_end_label; also add new field
        for cold text section name, unlikely_text_section_name.
        * opts.c (decode_options): Turn off partitioning flag if
        !targetm.have_named_sections.
        * output.h (hot_section_label): Remove.
        (hot_section_end_label): Remove.
        (cold_section_end_label): Remove.
        (unlikely_section_label): Remove.
        (unlikely_text_section_name): Remove.
        * passes.c (rest_of_handle_final):  Remove extra blank line.
        * varasm.c (unlikely_section_label): Remove.
        (hot_section_label): Remove.
        (hot_section_end_label): Remove.
        (cold_section_end_label): Remove.
        (unlikely_text_section_name):  Remove.
        (initialize_cold_section_name): Modify to call
        targetm.strip_name_encoding; to store cold section name in current
        function struct, if it exists; and to only use the decl_section_name
        if flag_named_sections is true.
        (unlikely_text_section): Modify to get section name out of current
        function struct, if there is one; otherwise build it from
        UNLIKELY_EXECUTED_TEXT_SECTION_NAME.
        (in_unlikely_text_section): Likewise.
        (named_section): Modify to get/put cold section name in current function
        struct, if there is one.
        (function_section):  Change 'bool unlikely' to 'int reloc'; check
        targetm.have_named_sections before calling named_section.
        (current_function_section): Likewise.
        (assemble_start_function): Modify to get/put unlikely_text_section_name
        in current function struct; modify to get hot/cold section labels
        from function struct; initialize labels using
        ASM_GENERATE_INTERNAL_LABEL;
        test partitioning flag before writing out hot section label.
        (assemble_end_function): Test partitioning flag before writing out
        hot/cold section labels.
        (default_section_type_flags_1):  Get cold text section name from
        function struct if there is one; Set flags correctly for
        cold text section if there is not a current function struct.

From-SVN: r98885

19 years agoConnection.java: Return correct content length for directory listing.
Chris Burdess [Wed, 27 Apr 2005 21:03:00 +0000 (21:03 +0000)]
Connection.java: Return correct content length for directory listing.

2005-04-27  Chris Burdess  <dog@gnu.org>

* gnu/java/net/protocol/file/Connection.java: Return correct content
length for directory listing.
* java/net/URLClassLoader.java: Correction for URLClassLoader, bug
#11285: return valid URLs for directories.i

From-SVN: r98884

19 years ago* gnu/java/net/protocol/https/Handler.java: Commit.
Thomas Fitzsimmons [Wed, 27 Apr 2005 20:45:25 +0000 (20:45 +0000)]
* gnu/java/net/protocol/https/Handler.java: Commit.

From-SVN: r98883

19 years agotree-ssa-propagate.c (set_rhs): Revert last change.
Richard Guenther [Wed, 27 Apr 2005 20:43:31 +0000 (20:43 +0000)]
tree-ssa-propagate.c (set_rhs): Revert last change.

2005-04-27  Richard Guenther  <rguenth@gcc.gnu.org>

* tree-ssa-propagate.c (set_rhs): Revert last change.

From-SVN: r98882

19 years ago* explow.c (convert_memory_address): Add gcc_assert.
Steve Ellcey [Wed, 27 Apr 2005 20:38:35 +0000 (20:38 +0000)]
* explow.c (convert_memory_address): Add gcc_assert.

From-SVN: r98881

19 years agoconfigure.ac: Check for ld --sysroot support.
Mark Mitchell [Wed, 27 Apr 2005 20:35:54 +0000 (20:35 +0000)]
configure.ac: Check for ld --sysroot support.

* configure.ac: Check for ld --sysroot support.
* gcc.c: Document %R specifier for specs.
(SYSROOT_SPEC): New macro.
(sysroot_spec): New variable.
(static_specs): Add sysroot_spec.
(main): Pass the sysroot spec to the linker if appropriate.
* configure: Regenerated.
* config.in: Likewise.

From-SVN: r98880

19 years ago[multiple changes]
Thomas Fitzsimmons [Wed, 27 Apr 2005 20:10:07 +0000 (20:10 +0000)]
[multiple changes]

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

* Makefile.am (ordinary_java_source_files): Add
gnu/java/net/protocol/https/Handler.java.
* Makefile.in: Regenerate.
* java/net/URL.java: Remove org.metastatic.jessie from default
protocol search path.

2005-04-27  Chris Burdess  <dog@gnu.org>

* gnu/java/net/protocol/https/Handler.java: New file.

From-SVN: r98879

19 years agoIIORegistry.java (IIORegistry): Don't assume that awt Toolkit is always ClasspathToolkit.
Jeroen Frijters [Wed, 27 Apr 2005 20:01:23 +0000 (20:01 +0000)]
IIORegistry.java (IIORegistry): Don't assume that awt Toolkit is always ClasspathToolkit.

2005-04-27  Jeroen Frijters  <jeroen@frijters.net>

* javax/imageio/spi/IIORegistry.java (IIORegistry):
Don't assume that awt Toolkit is always ClasspathToolkit.

From-SVN: r98878

19 years agofold-const.c (fold_binary): Use build_fold_addr_expr for address calculation and...
Richard Guenther [Wed, 27 Apr 2005 19:39:08 +0000 (19:39 +0000)]
fold-const.c (fold_binary): Use build_fold_addr_expr for address calculation and INDIRECT_REF handling.

2005-04-27  Richard Guenther  <rguenth@gcc.gnu.org>

* fold-const.c (fold_binary): Use build_fold_addr_expr
for address calculation and INDIRECT_REF handling.

From-SVN: r98877

19 years agoHTTPURLConnection.java (connect): Accept absolute and relative paths in Location...
Chris Burdess [Wed, 27 Apr 2005 18:57:02 +0000 (18:57 +0000)]
HTTPURLConnection.java (connect): Accept absolute and relative paths in Location header.

2005-04-27  Chris Burdess  <dog@gnu.org>

* java/net/protocol/http/HTTPURLConnection.java (connect): Accept
absolute and relative paths in Location header.

2005-04-27  Chris Burdess  <dog@gnu.org>

* gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
FileNotFoundException and implement getErrorStream on 404.

From-SVN: r98875

19 years ago2005-04-27 Sven de Marothy <sven@physto.se>
Sven de Marothy [Wed, 27 Apr 2005 18:47:40 +0000 (20:47 +0200)]
2005-04-27  Sven de Marothy <sven@physto.se>

* java/util/TimeZone.java,
(getDefaultDisplayName): Fix previous fix.

2005-04-27  Sven de Marothy <sven@physto.se>

* java/util/TimeZone.java,
(getDefaultDisplayName): Don't print zero offsets.

From-SVN: r98874

19 years agopostreload-gcse.c (hash_scan_set): Remove bogus assertion.
Andrew Haley [Wed, 27 Apr 2005 18:39:05 +0000 (18:39 +0000)]
postreload-gcse.c (hash_scan_set): Remove bogus assertion.

2005-04-27  Andrew Haley  <aph@redhat.com>

        * postreload-gcse.c (hash_scan_set): Remove bogus assertion.

From-SVN: r98873

19 years agoarm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame pointer when thumb backtracing...
Nathan Sidwell [Wed, 27 Apr 2005 18:33:37 +0000 (18:33 +0000)]
arm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame pointer when thumb backtracing is on.

* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame
pointer when thumb backtracing is on.

* config/fp-bit.c (abort): Revert change.

From-SVN: r98872

19 years agogcj.texi (libgcj Runtime Properties): Remove obsolete gnu.gcj.runtime.NameFinder...
Bryce McKinlay [Wed, 27 Apr 2005 18:29:27 +0000 (18:29 +0000)]
gcj.texi (libgcj Runtime Properties): Remove obsolete gnu.gcj.runtime.NameFinder.* system properties.

* gcj.texi (libgcj Runtime Properties): Remove obsolete
gnu.gcj.runtime.NameFinder.* system properties. Update documentation
for gnu.gcj.runtime.NameFinder.use_addr2line and gnu.gcj.progname.

From-SVN: r98871

19 years ago* c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P
Ian Lance Taylor [Wed, 27 Apr 2005 18:06:04 +0000 (18:06 +0000)]
* c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P

From-SVN: r98868

19 years ago2005-04-27 Roman Kennke <roman@kennke.org>
Roman Kennke [Wed, 27 Apr 2005 18:01:09 +0000 (18:01 +0000)]
2005-04-27  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicScrollBarUI
(getThumbBounds): Do not make thumb smaller than
minimumThumbSize.
* javax/swing/plaf/metal/MetalLookAndFeel
(initComponentDefaults): Added color defaults for ScrollBar.
* javax/swing/plaf/metal/MetalScrollBarUI
(paintThumb): Added.
(getMinimumThumbSize): Added.

2005-04-27  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalLookAndFeel
(initComponentDefaults): Added some default colors.

2005-04-27  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicScrollBarUI.java
(configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
to 'ScrollBar.thumbShadow'. The formes does not exist.
(paintThumb): Use BasicGraphicsUtils for painting the thumb.

2005-04-27  Roman Kennke  <roman@kennke.org>

* java/awt/MediaTracker.java: Added 2005 to copyright statement.
* javax/swing/BoxLayout.java: Likewise.
* javax/swing/UIManager.java: Likewise.
* javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
* javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
* javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
* javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
* javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
* javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
* javax/swing/text/Document.java: Likewise.
* javax/swing/text/GapContent.java: Likewise.
* javax/swing/text/SimpleAttributeSet.java: Likewise.
* javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.

2005-04-27  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicToggleButtonUI.java:
(getPropertyPrefix): Added.

2005-04-27  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicButtonUI.java
(getPropertyPrefix): Added.
(installDefaults): Use getPropertyPrefix instead of hard-coded
prefix.

2005-04-27  Roman Kennke  <roman@kennke.org>

* javax/swing/JToggleButton.java
(JToggleButton): Removed horizontalAlignment setting, this
was wrong. Added setting of an actionCommand, ToggleButtons
have "" as default actionCommand.

From-SVN: r98867

19 years ago* tree-ssa-dce.c: Fix a comment typo.
Kazu Hirata [Wed, 27 Apr 2005 18:00:55 +0000 (18:00 +0000)]
* tree-ssa-dce.c: Fix a comment typo.

From-SVN: r98866

19 years agoFix a typo.
Kazu Hirata [Wed, 27 Apr 2005 17:40:22 +0000 (17:40 +0000)]
Fix a typo.

From-SVN: r98862

19 years agoexplow.c (allocate_dynamic_stack_space SETJMP_VIA_SAVE_AREA): Kill setjmpless_size.
David S. Miller [Wed, 27 Apr 2005 17:38:17 +0000 (17:38 +0000)]
explow.c (allocate_dynamic_stack_space SETJMP_VIA_SAVE_AREA): Kill setjmpless_size.

* explow.c (allocate_dynamic_stack_space SETJMP_VIA_SAVE_AREA):
Kill setjmpless_size.  current_function_calls_setjmp is completely
computed when we are called, so just use the optimized size value
instead of using REG_SAVE_AREA notes.
(optimize_save_area_alloca): Delete....
* rtl.h (optimize_save_area_alloca): Likewise...
* passes.c (rest_of_compilation): and don't call it any more.
* reg-notes.def (SAVE_AREA): Delete.

From-SVN: r98861

19 years agofp-bit.c (abort): Add noreturn attribute.
Nathan Sidwell [Wed, 27 Apr 2005 17:02:34 +0000 (17:02 +0000)]
fp-bit.c (abort): Add noreturn attribute.

* config/fp-bit.c (abort): Add noreturn attribute.

* config/avr/avr.c (avr_naked_function_p): Use gcc_assert and
gcc_unreachable as appropriate.
(ptrreg_to_str, cond_string, avr_normalize_condition): Likewise.
* config/avr/avr.h (ASM_OUTPUT_REG_PUSH,
ASM_OUTPUT_REG_POP): Likewise.

From-SVN: r98854

19 years agotree-complex.c (expand_vector_operations_1): Do not build VIEW_CONVERT_EXPR's for...
Paolo Bonzini [Wed, 27 Apr 2005 16:50:19 +0000 (16:50 +0000)]
tree-complex.c (expand_vector_operations_1): Do not build VIEW_CONVERT_EXPR's for the lhs.

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

* tree-complex.c (expand_vector_operations_1): Do not build
VIEW_CONVERT_EXPR's for the lhs.

From-SVN: r98853

19 years agopa.h (PRINT_OPERAND_ADDRESS): Use gcc_assert, remove unnecessary noncanonical RTL...
Nathan Sidwell [Wed, 27 Apr 2005 16:48:18 +0000 (16:48 +0000)]
pa.h (PRINT_OPERAND_ADDRESS): Use gcc_assert, remove unnecessary noncanonical RTL handling.

* config/pa/pa.h (PRINT_OPERAND_ADDRESS): Use gcc_assert, remove
unnecessary noncanonical RTL handling.
* config/pa/pa64-linux.h (INITIAL_ELIMINATION_OFFSET): Use
gcc_assert and gcc_unreachable.

From-SVN: r98852

19 years agogen-vect-25.c: Make more portable.
Paolo Bonzini [Wed, 27 Apr 2005 16:32:18 +0000 (16:32 +0000)]
gen-vect-25.c: Make more portable.

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

* gcc.dg/tree-ssa/gen-vect-25.c: Make more portable.

From-SVN: r98851

19 years agoarm.h (ARM_PRINT_OPERAND_ADDRESS): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Wed, 27 Apr 2005 16:09:03 +0000 (16:09 +0000)]
arm.h (ARM_PRINT_OPERAND_ADDRESS): Use gcc_assert and gcc_unreachable as appropriate.

* config/arm/arm.h (ARM_PRINT_OPERAND_ADDRESS): Use gcc_assert and
gcc_unreachable as appropriate.
(THUMB_PRINT_OPERAND_ADDRESS): Likewise.
* config/arm/arm.c (arm_override_options, arm_compute_func_type,
use_return_insn, const_ok_for_op, arm_gen_constant,
arm_canonicalize_comparison, legitimize_pic_address,
thumb_find_work_register, arm_load_pic_register, arm_rtx_costs_1,
arm_cirrus_insn_p, cirrus_reorg, minmax_code,
load_multiple_sequence, emit_ldm_seq, store_multiple_sequence,
emit_stm_seq, arm_gen_movmemqi, arm_select_dominance_cc_mode,
arm_select_cc_mode, arm_reload_in_hi, arm_reload_out_hi,
move_minipool_fix_forward_ref, move_minipool_fix_backward_ref,
dump_minipool, create_fix_barrier, push_minipool_fix, arm_reorg,
fp_immediate_constant, fp_const_from_val, vfp_output_fstmx,
output_call, output_mov_long_double_fpa_from_arm,
output_mov_long_double_arm_from_fpa,
output_mov_double_fpa_from_arm, output_mov_double_arm_from_fpa,
output_move_double, arithmetic_instr, shift_op, int_log2,
output_return_instruction, arm_output_function_prologue,
arm_output_epilogue, arm_output_function_epilogue,
emit_multi_reg_push, arm_get_frame_offsets,
arm_compute_initial_elimination_offset, arm_expand_prologue,
arm_print_operand, arm_assemble_integer, get_arm_condition_code,
arm_final_prescan_insn, arm_init_iwmmxt_builtins,
arm_expand_binop_builtin, thumb_pushpop, thumb_far_jump_used_p,
thumb_compute_initial_elimination_offset,
thumb_output_function_prologue, thumb_load_double_from_address,
thumb_output_move_mem_multiple, thumb_reload_out_hi,
arm_emit_vector_const, arm_dbx_register_number): Likewise.
* config/arm/pe.c (arm_mark_dllexport, arm_mark_dllimport): Likewise.
* config/arm/arm.md (thumb_extendhisi2,
*thumb_extendhisi2_insn_v6, *thumb_extendqisi2,
*thumb_extendqisi2_v6, movhi, *thumb_movhi_insn,
thumb_movhi_clobber, movqi, *arm_buneq, *arm_bltgt,
*arm_buneq_reversed, *arm_bltgt_reversed, suneq, sltgt): Likewise.
* config/arm/cirrus.md (*cirrus_arm_movdi,
*cirrus_movdf_hard_insn): Likewise.
* config/arm/vfp.md (*arm_movdi_vfp, *movdf_vfp): Likewise.

From-SVN: r98850

19 years agodojump.c: Fix comment typos.
Kazu Hirata [Wed, 27 Apr 2005 16:02:43 +0000 (16:02 +0000)]
dojump.c: Fix comment typos.

* dojump.c: Fix comment typos.  emit-rtl.c, expmed.c, expr.c,
stmt.c, stor-layout.c: Use fold_buildN instead of
fold (buildN (...)).

From-SVN: r98848

19 years agobe.po, [...]: Update.
Joseph Myers [Wed, 27 Apr 2005 16:00:49 +0000 (17:00 +0100)]
be.po, [...]: Update.

* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, vi.po: Update.

From-SVN: r98845

19 years agore PR libstdc++/21244 (Vector<bool> anonymous enum problem)
Dominik Strasser [Wed, 27 Apr 2005 15:59:06 +0000 (15:59 +0000)]
re PR libstdc++/21244 (Vector<bool> anonymous enum problem)

2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
    Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21244
* include/bits/stl_bvector.h: Change the anonymous enum
at namespace scope to _S_word_bit_enum.
* testsuite/23_containers/vector/bool/21244.cc: New.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r98844

19 years agotree-flow.h (ssa_names): Change the type to VEC(tree,gc).
Kazu Hirata [Wed, 27 Apr 2005 15:58:47 +0000 (15:58 +0000)]
tree-flow.h (ssa_names): Change the type to VEC(tree,gc).

* tree-flow.h (ssa_names): Change the type to VEC(tree,gc).
(num_ssa_names): Use VEC_length.
(ssa_names): Use VEC_index.
* tree-ssanames.c (ssa_names): Change the type to
VEC(tree,gc).
(init_ssanames, fini_ssa_names, make_ssanames,
release_ssa_name): Update uses of ssa_names.

From-SVN: r98843

19 years agobe.po, [...]: Update.
Joseph Myers [Wed, 27 Apr 2005 15:47:26 +0000 (16:47 +0100)]
be.po, [...]: Update.

* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po: Update.

From-SVN: r98840

19 years agore PR fortran/21177 (wrong code with NULL())
François-Xavier Coudert [Wed, 27 Apr 2005 15:37:53 +0000 (15:37 +0000)]
re PR fortran/21177 (wrong code with NULL())

PR fortran/21177

* interface.c (compare_parameter): Ignore type for EXPR_NULL
only if type is BT_UNKNOWN.

* gfortran.dg/pr21177.f90: New test

From-SVN: r98837

19 years ago* dbxout.c (dbxout_type): Check use_gnu_debug_info_extensions.
Devang Patel [Wed, 27 Apr 2005 15:36:19 +0000 (08:36 -0700)]
* dbxout.c (dbxout_type): Check use_gnu_debug_info_extensions.

From-SVN: r98836

19 years agovax.c (vax_rtx_costs): Whitespace cleanup.
Matt Thomas [Wed, 27 Apr 2005 15:30:46 +0000 (15:30 +0000)]
vax.c (vax_rtx_costs): Whitespace cleanup.

2005-04-27  Matt Thomas <matt@3am-software.com>
            Jan-Benedict Glaw <jbglaw@microdata-pos.de>

* config/vax/vax.c (vax_rtx_costs): Whitespace cleanup.
(vax_output_mi_thunk): Ditto.
(vax_notice_cc_update): Ditto.
(INDEX_REGISTER_P): Add trailing \.
(BASE_REGISTER_P): Add trailing \.
(legitimate_address_p): Whitespace cleanup.  Remove trailing \.

Co-Authored-By: Jan-Benedict Glaw <jbglaw@microdata-pos.de>
From-SVN: r98835

19 years agotree-ssa-propagate.c (set_rhs): Check operand of ADDR_EXPR for gimpliness, too.
Richard Guenther [Wed, 27 Apr 2005 15:25:21 +0000 (15:25 +0000)]
tree-ssa-propagate.c (set_rhs): Check operand of ADDR_EXPR for gimpliness, too.

2005-04-27  Richard Guenther  <rguenth@gcc.gnu.org>

* tree-ssa-propagate.c (set_rhs): Check operand of
ADDR_EXPR for gimpliness, too.

From-SVN: r98832

19 years ago* tree-ssa-pre.c: Fix a comment typo.
Kazu Hirata [Wed, 27 Apr 2005 15:21:53 +0000 (15:21 +0000)]
* tree-ssa-pre.c: Fix a comment typo.

From-SVN: r98831

19 years agotype_traits (has_trivial_copy, [...]): Adjust according to the resolution of TR1...
Paolo Carlini [Wed, 27 Apr 2005 15:08:57 +0000 (15:08 +0000)]
type_traits (has_trivial_copy, [...]): Adjust according to the resolution of TR1 issue 3.21.

2005-04-27  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
has_nothrow_copy, has_nothrow_assign): Adjust according to the
resolution of TR1 issue 3.21.
* testsuite/testsuite_tr1.h (test_copy_property,
test_assign_property): Remove.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_assign/has_nothrow_assign.cc: Adjust.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_copy/has_nothrow_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_assign/has_trivial_assign.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_copy/has_trivial_copy.cc: Likewise.

From-SVN: r98829

19 years agore PR tree-optimization/21171 (IV OPTS removes does not create a new VOPs for constan...
Zdenek Dvorak [Wed, 27 Apr 2005 14:28:11 +0000 (16:28 +0200)]
re PR tree-optimization/21171 (IV OPTS removes does not create a new VOPs for constant values)

PR tree-optimization/21171
* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Do not
record address uses if the reference is volatile.

* gcc.dg/tree-ssa/pr21171.c: New test.

From-SVN: r98828