]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
21 years agogcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with -lgcc --as-needed -lgcc_s...
Alan Modra [Thu, 1 Apr 2004 16:55:23 +0000 (16:55 +0000)] 
gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with -lgcc --as-needed -lgcc_s --no-as-needed by default.

* gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with
-lgcc --as-needed -lgcc_s --no-as-needed by default.
* configure.in (HAVE_LD_AS_NEEDED): Check for ld --as-needed.
* configure: Rebuilt.
* config.in: Rebuilt.
* Makefile.in (stage1-start): Copy also libgcc_s*$(SHLIB_EXT).
(stage2-start, stage3-start, stage4-start): Likewise.
(stageprofile-start, stagefeedback-start): Likewise.

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

21 years agore PR c++/14755 (miscompilation in bitfielded signed integers)
Jakub Jelinek [Thu, 1 Apr 2004 16:27:06 +0000 (18:27 +0200)] 
re PR c++/14755 (miscompilation in bitfielded signed integers)

PR c++/14755
* fold-const.c (fold) <EQ_EXPR>: Properly compute newconst in
"bitfld++ == const" to "++bitfld == const + incr" transformations.

* gcc.c-torture/execute/20040331-1.c: New test.

From-SVN: r80301

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 1 Apr 2004 16:27:06 +0000 (16:27 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r80300

21 years agore PR c/14069 (This input file lets gcc crash)
Jakub Jelinek [Thu, 1 Apr 2004 16:20:27 +0000 (18:20 +0200)] 
re PR c/14069 (This input file lets gcc crash)

PR c/14069
* c-decl.c (finish_struct): Change type of incorrect flexible array
field into error_mark_node.

Backport from mainline:
2003-04-07  J"orn Rennecke  <joern.rennecke@superh.com>

* c-typeck.c (output_init_element): Check for type == error_mark_node.

testsuite/
PR c/14069
* gcc.dg/20040322-1.c: New test.

Backport from mainline:
2003-04-07  J"orn Rennecke  <joern.rennecke@superh.com>

* gcc.dg/noncompile/init-4.c: New test.

From-SVN: r80299

21 years ago* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
Alan Modra [Thu, 1 Apr 2004 01:41:58 +0000 (01:41 +0000)] 
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.

From-SVN: r80279

21 years agoDaily bump.
GCC Administrator [Thu, 1 Apr 2004 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r80261

21 years agoDaily bump.
GCC Administrator [Wed, 31 Mar 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r80103

21 years agobackport: [multiple changes]
Matthias Klose [Tue, 30 Mar 2004 20:43:45 +0000 (20:43 +0000)] 
backport: [multiple changes]

2004-03-30  Matthias Klose  <doko@debian.org>

        Backport:

        2004-01-14  Richard Earnshaw  <rearnsha@arm.com>

        PR bootstrap/12527
        * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
        Move linux-gas.h and linux-elf.h before aout.h.
        * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
        * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.

        2003-05-15  Philip Blundell  <philb@gnu.org>

        * config/arm/arm.c (arm_is_xscale): Rename to arm_arch_xscale.
        All uses updated.
        (arm_tune_xscale): New variable.
        (arm_override_options): Set it.
        (arm_adjust_cost): Use it in place of arm_arch_xscale.
        (arm_gen_load_multiple): Likewise.
        (arm_gen_store_multiple): Likewise.
        * config/arm/arm.md (is_xscale): Likewise.
        * config/arm/arm.h (arm_tune_xscale): Declare.

        2003-04-28  Nick Clifton  <nickc@redhat.com>

        * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.

From-SVN: r80094

21 years agoDaily bump.
GCC Administrator [Tue, 30 Mar 2004 00:16:46 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r80069

21 years ago[multiple changes]
Matthias Klose [Mon, 29 Mar 2004 19:16:43 +0000 (19:16 +0000)] 
[multiple changes]

2004-03-29  Matthias Klose  <doko@debian.org>

        2003-09-17  Daniel Jacobowitz  <drow@mvista.com>

        * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc.

From-SVN: r80064

21 years agobackport: re PR bootstrap/13562 (bootstrap failure on m68k-linux)
Matthias Klose [Mon, 29 Mar 2004 19:03:24 +0000 (19:03 +0000)] 
backport: re PR bootstrap/13562 (bootstrap failure on m68k-linux)

2004-03-29  Matthias Klose  <doko@debian.org>

        Backport:
        2004-01-15  Andreas Schwab  <schwab@suse.de>

        PR bootstrap/13562
        * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
        status for NOTB/NOTW/NEGW methods.

From-SVN: r80063

21 years agore PR c/14219 (ICE with vector comparison)
Aldy Hernandez [Mon, 29 Mar 2004 11:48:30 +0000 (11:48 +0000)] 
re PR c/14219 (ICE with vector comparison)

2004-03-25  Aldy Hernandez  <aldyh@redhat.com>

        PR 14219
        * c-typeck.c (build_binary_op): Do not allow comparisons of
        vectors.

From-SVN: r80053

21 years agoDaily bump.
GCC Administrator [Mon, 29 Mar 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r80046

21 years agoDaily bump.
GCC Administrator [Sun, 28 Mar 2004 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r80033

21 years agore PR target/11716 ([mips] branch out of range when building fold-const.c)
Matthias Klose [Sat, 27 Mar 2004 10:35:03 +0000 (10:35 +0000)] 
re PR target/11716 ([mips] branch out of range when building fold-const.c)

2004-03-27  Matthias Klose  <doko@debian.org>

        PR target/11716
        Michael Eager <eager@mvista.com>

        * config/mips/mips.md: Limit the maximum length of a short branch to
        64K instead of 128K.

From-SVN: r80013

21 years agoDaily bump.
GCC Administrator [Sat, 27 Mar 2004 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r80005

21 years agore PR c/11527 (If an array "designated intializer" in a struct causes a segv.)
Richard Henderson [Fri, 26 Mar 2004 22:37:18 +0000 (14:37 -0800)] 
re PR c/11527 (If an array  "designated intializer" in a struct causes a segv.)

        PR 11527
        * c-typeck.c (pop_init_level): Emit pending init elements earlier
        rather than later.

From-SVN: r79999

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 26 Mar 2004 22:37:18 +0000 (22:37 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79998

21 years agore PR target/14723 ([3.4 only] Backported -march=nocona from mainline)
Jan Hubicka [Fri, 26 Mar 2004 17:28:27 +0000 (18:28 +0100)] 
re PR target/14723 ([3.4 only] Backported -march=nocona from mainline)

2004-03-26  Jan Hubicka  <jh@suse.cz>
    H.J. Lu  <hongjiu.lu@intel.com>

PR Target/14723
* config.gcc: Add support --with-cpu=nocona.

* config/i386/i386.c (override_options): Add support for
Prescott and Nocona.

* doc/invoke.texi: Extend documentation of -mcpu/-march for new
CPUs.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r79988

21 years agoDaily bump.
GCC Administrator [Fri, 26 Mar 2004 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79971

21 years agoconfig.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file.
Jakub Jelinek [Thu, 25 Mar 2004 22:36:10 +0000 (23:36 +0100)] 
config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file.

* config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file.
* config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Set.
* config/sparc/t-linux: New file.

From-SVN: r79968

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 25 Mar 2004 22:36:10 +0000 (22:36 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79967

21 years ago20040127-1.c: New test.
Eric Botcazou [Thu, 25 Mar 2004 07:21:02 +0000 (07:21 +0000)] 
20040127-1.c: New test.

* gcc.dg/20040127-1.c: New test.
* gcc.dg/20040127-2.c: New test.

From-SVN: r79947

21 years agobackport: re PR bootstrap/14356 (gcc.c:3661: error: assignment of read-only location)
Kelley Cook [Thu, 25 Mar 2004 00:58:37 +0000 (00:58 +0000)] 
backport: re PR bootstrap/14356 (gcc.c:3661: error: assignment of read-only location)

2004-03-24  Kelley Cook  <kcook@gcc.gnu.org>

Backport:
2004-03-01  Mark Mitchell  <mark@codesourcery.com>

PR bootstrap/14356
* gcc.c (process_command): Remove const-qualification from argv.
(main): Likewise.

From-SVN: r79944

21 years agoDaily bump.
GCC Administrator [Thu, 25 Mar 2004 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79940

21 years agore PR preprocessor/14438 (Potential need for buffer overflow checks in _cpp_lex_direct)
Alexandre Oliva [Wed, 24 Mar 2004 03:18:36 +0000 (03:18 +0000)] 
re PR preprocessor/14438 (Potential need for buffer overflow checks in _cpp_lex_direct)

PR preprocessor/14438
* cpplib.c (do_pragma): Remove line_change call after pragma
handler.

From-SVN: r79896

21 years agoDaily bump.
GCC Administrator [Wed, 24 Mar 2004 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79887

21 years agoFix previous committ, committed too much.
Andrew Pinski [Tue, 23 Mar 2004 05:35:03 +0000 (21:35 -0800)] 
Fix previous committ, committed too much.

From-SVN: r79851

21 years ago[multiple changes]
Andrew Pinski [Tue, 23 Mar 2004 05:24:56 +0000 (05:24 +0000)] 
[multiple changes]

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

        BackPort:
                2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>

                PR debug/11231
                * dbxout.c (dbxout_type_fields): Return if any item is error_mark_node or the
                type is error_mark_node.

From-SVN: r79850

21 years agoDaily bump.
GCC Administrator [Tue, 23 Mar 2004 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79845

21 years agore PR tree-optimization/14470 ([tree-ssa] trouble with post-increment)
Eric Botcazou [Mon, 22 Mar 2004 18:39:55 +0000 (19:39 +0100)] 
re PR tree-optimization/14470 ([tree-ssa] trouble with post-increment)

PR middle-end/14470
* expr.c (mark_queue): New function.
(emit_insns_enqueued_after_mark): New function replacing
emit_queue.  Clear the body of emitted queued insns.
(emit_queue): Call emit_insns_enqueued_after_mark.
(store_expr): Mark the increment queue on entry.  Emit
only the incrementations queued when expanding the source.

From-SVN: r79836

21 years agore PR c++/14260 (default arguments are only permitted for function parameters)
Ralf Corsepius [Mon, 22 Mar 2004 14:26:02 +0000 (14:26 +0000)] 
re PR c++/14260 (default arguments are only permitted for function parameters)

2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

PR target/14260
* config/rtems.h: Add STD_LIB_SPEC and LIB_SPEC.

From-SVN: r79827

21 years agoDaily bump.
GCC Administrator [Mon, 22 Mar 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79798

21 years agofold-const.c (fold): Rewrite optimization to transform "foo++ == const" into "++foo...
Roger Sayle [Sun, 21 Mar 2004 18:52:42 +0000 (18:52 +0000)] 
fold-const.c (fold): Rewrite optimization to transform "foo++ == const" into "++foo == const+incr".

* fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform
"foo++ == const" into "++foo == const+incr".

* gcc.c-torture/execute/20040307-1.c: New test case.

Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu>
From-SVN: r79791

21 years agore PR target/13889 (Assignment of an int to an int of different size in a struct...
Roger Sayle [Sun, 21 Mar 2004 16:29:02 +0000 (16:29 +0000)] 
re PR target/13889 (Assignment of an int to an int of different size in a struct gives ICE)

PR target/13889
* cse.c (fold_rtx): Avoid substituting constants into unary
conversion operations.

* gcc.c-torture/compile/pr13889.c: New test case.

From-SVN: r79786

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 21 Mar 2004 16:29:02 +0000 (16:29 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79785

21 years agog77.texi (Aligned Data): Remove obsolete paragraph including a broken link.
Gerald Pfeifer [Sun, 21 Mar 2004 11:17:53 +0000 (11:17 +0000)] 
g77.texi (Aligned Data): Remove obsolete paragraph including a broken link.

* g77.texi (Aligned Data): Remove obsolete paragraph including a
broken link.
(Floating-point Errors): Remove links to http://www.validgh.com/
which was "hijacked".
(Language): Fix link to Fortran books.
(Projects): Remove obsolete paragraph including a broken link to
ftp://alpha.gnu.org/gnu/g77/projects/.
(Trouble): Remove obsolete paragraph including a broken link to
ftp://alpha.gnu.org/g77.plan.

* invoke.texi (Overall Options): Remove broken reference to
rat7.uue (which was of dubious copyright status anyways).

* root.texi (www-burley): Fix URL.

From-SVN: r79775

21 years agoDaily bump.
GCC Administrator [Sun, 21 Mar 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79766

21 years agoDaily bump.
GCC Administrator [Sat, 20 Mar 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79718

21 years agoDaily bump.
GCC Administrator [Fri, 19 Mar 2004 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79652

21 years agoDaily bump.
GCC Administrator [Thu, 18 Mar 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79611

21 years agobackport: re PR debug/14079 (wrong debug info for extern boolean variable in debug...
Matt Austern [Wed, 17 Mar 2004 21:52:16 +0000 (21:52 +0000)] 
backport: re PR debug/14079 (wrong debug info for extern boolean variable in debug mode)

Backport:
PR debug/14079
* decl.c (add_decl_to_level): Add extern variables, as well
as static, to static_decls array.

From-SVN: r79608

21 years agobackport: c-typeck.c (pedantic_lvalue_warning): Deprecate compound expressions as...
Ian Lance Taylor [Wed, 17 Mar 2004 20:13:20 +0000 (20:13 +0000)] 
backport: c-typeck.c (pedantic_lvalue_warning): Deprecate compound expressions as lvalues.

Backport:
2003-11-08  Joseph S. Myers  <jsm@polyomino.org.uk>

* c-typeck.c (pedantic_lvalue_warning): Deprecate compound
expressions as lvalues.
* doc/extend.texi: Document that all extended lvalues are now
deprecated.

2003-11-05  Joseph S. Myers  <jsm@polyomino.org.uk>

* c-typeck.c (pedantic_lvalue_warning): Deprecate use of
conditional expressions as lvalues.

2003-10-22  Joseph S. Myers  <jsm@polyomino.org.uk>

* c-typeck.c (pedantic_lvalue_warning): Unconditionally warn of
deprecation of casts as lvalues.
* fixinc/inclhack.def (obstack_lvalue_cast): New fix.
* fixinc/fixincl.x: Regenerate.

From-SVN: r79600

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 17 Mar 2004 18:19:31 +0000 (18:19 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79593

21 years agore PR middle-end/14535 (exception throwing in virtual function doesn't turn on the...
Richard Henderson [Wed, 17 Mar 2004 18:07:30 +0000 (10:07 -0800)] 
re PR middle-end/14535 (exception throwing in virtual function doesn't turn on the local destructors)

        PR middle-end/14535
        * except.c (collect_one_action_chain): Record action for cleanup
        outer of exception spec.

From-SVN: r79592

21 years agoDaily bump.
GCC Administrator [Wed, 17 Mar 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79560

21 years agoDaily bump.
GCC Administrator [Tue, 16 Mar 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79517

21 years agoDaily bump.
GCC Administrator [Mon, 15 Mar 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79486

21 years agoDaily bump.
GCC Administrator [Sun, 14 Mar 2004 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79464

21 years ago* doc/install.texi: Note status of -fnew-ra.
Dara Hazeghi [Sat, 13 Mar 2004 21:51:02 +0000 (21:51 +0000)] 
* doc/install.texi: Note status of -fnew-ra.

From-SVN: r79461

21 years agore PR tree-optimization/14470 ([tree-ssa] trouble with post-increment)
Eric Botcazou [Sat, 13 Mar 2004 18:32:24 +0000 (18:32 +0000)] 
re PR tree-optimization/14470 ([tree-ssa] trouble with post-increment)

PR middle-end/14470
* gcc.c-torture/execute/20040313-1.c: New test.

From-SVN: r79456

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 13 Mar 2004 18:32:24 +0000 (18:32 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79455

21 years agore PR target/14533 (s390x internal compiler error: in legitimize_pic_address, at...
Jakub Jelinek [Sat, 13 Mar 2004 11:26:34 +0000 (12:26 +0100)] 
re PR target/14533 (s390x internal compiler error: in legitimize_pic_address, at config/s390/s390.c:2276)

PR target/14533
* config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC
other than UNSPEC_GOTOFF.

* gcc.dg/20040311-2.c: New test.

From-SVN: r79444

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 13 Mar 2004 11:26:34 +0000 (11:26 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79443

21 years agore PR debug/11983 (ICE in dwarf-2 on code using altivec)
Alan Modra [Sat, 13 Mar 2004 09:20:10 +0000 (09:20 +0000)] 
re PR debug/11983 (ICE in dwarf-2 on code using altivec)

PR debug/11983
* dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to
dw_val_class_vec.  Replace use throughout file.
(dw_float_const): Delete.
(dw_vec_const): New.
(dw_val_struct_union): Rename val_float to val_vec.  Replace use
throughout file.
(add_AT_vec): Rename from add_AT_float.  Add elt_size param.
(same_dw_val_p): Adjust vec comparison.  Use memcmp.
(size_of_die): Adjust dw_val_class_vec sizing.
(output_die): Output dw_val_class_vec.
(insert_int, extract_int, insert_float): New functions.
(add_const_value_attribute): Use insert_float for CONST_DOUBLE.
Handle CONST_VECTOR.
(add_location_or_const_value_attribute): Handle CONST_VECTOR.

From-SVN: r79438

21 years agobackport: re PR c++/14476 (ICE after error about enum not being defined when using...
Gabriel Dos Reis [Sat, 13 Mar 2004 03:15:57 +0000 (03:15 +0000)] 
backport: re PR c++/14476 (ICE after error about enum not being defined when using it as a bit field)

Backport:
2004-03-11  Mark Mitchell  <mark@codesourcery.com>
PR c++/14476
* decl.c (xref_tag): Do not create dummy ENUMERAL_TYPEs.

From-SVN: r79431

21 years agobackport: re PR tree-optimization/14470 ([tree-ssa] trouble with post-increment)
Gabriel Dos Reis [Sat, 13 Mar 2004 03:03:38 +0000 (03:03 +0000)] 
backport: re PR tree-optimization/14470 ([tree-ssa] trouble with post-increment)

Backport:
2004-03-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
        PR middle-end/14470
* expr.c (store_expr): Call emit_queue before generating the move
from the temporary to the original target.  Protect the temporary
from emit_queue.

From-SVN: r79429

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 13 Mar 2004 03:03:38 +0000 (03:03 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79428

21 years agobackport: re PR c++/14401 (Uninitialized reference error not reported.)
Gabriel Dos Reis [Sat, 13 Mar 2004 02:31:36 +0000 (02:31 +0000)] 
backport: re PR c++/14401 (Uninitialized reference error not reported.)

        Backport:
        2004-03-08  Mark Mitchell  <mark@codesourcery.com>
        PR c++/14401
        * class.c (check_field_decls): Complain about non-static data
        members of reference type in unions.  Propagate
        CLASSTYPE_REF_FIELDS_NEED_INIT and
        CLASSTYPE_READONLY_FIELDS_NEED_INIT from the types of
        non-static
        data members.
        * init.c (perform_member_init): Complain about members with const
        type that are not explicitly initialized.

From-SVN: r79426

21 years agobackport: re PR c++/14230 (ICE in cp_expr_size)
Gabriel Dos Reis [Sat, 13 Mar 2004 02:00:57 +0000 (02:00 +0000)] 
backport: re PR c++/14230 (ICE in cp_expr_size)

Backport:
2004-03-09  Mark Mitchell  <mark@codesourcery.com>
        PR c++/14230
        * call.c (initialize_reference): Handle initializers that are
        class-member access expressions applies to rvalues.

From-SVN: r79425

21 years agore PR target/13877 (miscompilation with -O -funroll-loops on powerpc)
James E Wilson [Sat, 13 Mar 2004 01:19:05 +0000 (01:19 +0000)] 
re PR target/13877 (miscompilation with -O -funroll-loops on powerpc)

        PR target/13877
        * unroll.c (unroll_loop): If precondition loop, clear the
        initial_value
        field in loop_info.

From-SVN: r79424

21 years agobackport: re PR driver/13577 (multiple -o options with -c cause unrecognized option...
Gabriel Dos Reis [Sat, 13 Mar 2004 00:45:39 +0000 (00:45 +0000)] 
backport: re PR driver/13577 (multiple -o options with -c cause unrecognized option `-strip')

Backport:
2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
PR driver/13577
* gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
options.

From-SVN: r79422

21 years agore PR rtl-optimization/13472 (optimizer generates code to store data in const int...
Gabriel Dos Reis [Sat, 13 Mar 2004 00:30:53 +0000 (00:30 +0000)] 
re PR rtl-optimization/13472 (optimizer generates code to store data in const int, resulting in a segfault)

        Endorse:
        2004-01-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
        PR optimization/13472
        * reload.c (reload): Don't record unchanging memory locations.

From-SVN: r79421

21 years agoDaily bump.
GCC Administrator [Sat, 13 Mar 2004 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79416

21 years agofix email
Gabriel Dos Reis [Fri, 12 Mar 2004 22:56:34 +0000 (22:56 +0000)] 
fix email

From-SVN: r79411

21 years agobackport: re PR middle-end/13448 (gcc 3.3.2, internal error when -O3 and trying to...
Gabriel Dos Reis [Fri, 12 Mar 2004 22:43:29 +0000 (22:43 +0000)] 
backport: re PR middle-end/13448 (gcc 3.3.2, internal error when -O3 and trying to modify function const arg)

        Backport
        2004-02-27  Mark Mitchell  <mark@codesourcery.com>
        PR middle-end/13448
        * c-tree.h (readonly_warning): Rename to ...
        (readonly_error): ... this.
        * c-typeck.c (build_unary_op): Adjust accordingly.
        (readonly_warning): Rename to ...
        (readonly_error): ... this and issue errors, not warnings.
        (build_modify_expr): Call readonly_error, not
        readonly_warning.
        (c_expand_asm_operands): Likewise.
        * tree-inline.c (optimize_inline_calls): Do not inline
        functions after errors have occurred.

From-SVN: r79409

21 years agobackport: re PR rtl-optimization/10776 (Large aggregate initializers with a single...
Gabriel Dos Reis [Fri, 12 Mar 2004 20:53:57 +0000 (20:53 +0000)] 
backport: re PR rtl-optimization/10776 (Large aggregate initializers with a single relocated entry causes excessive compile time regression)

Backport:
2004-01-12  Richard Henderson  <rth@redhat.com>
PR opt/10776
* typeck2.c (split_nonconstant_init_1,
split_nonconstant_init): New.
(store_init_value): Use it.
* decl.c (check_initializer): Expect full initialization code
from store_init_value.
* init.c (expand_aggr_init_1): Likewise.
* decl2.c (maybe_emit_vtables): Abort if runtime init needed.

From-SVN: r79406

21 years agore PR target/10730 ([arm] -O2 generates invalid asm)
Philip Blundell [Fri, 12 Mar 2004 20:10:06 +0000 (20:10 +0000)] 
re PR target/10730 ([arm] -O2 generates invalid asm)

2004-03-12  Philip Blundell  <philb@gnu.org>

PR target/10730
Backport from trunk:
2003-05-15  Philip Blundell  <philb@gnu.org>
* config/arm/arm.c (adjacent_mem_locations): Reject offsets
involving invalid constants.

From-SVN: r79405

21 years agore PR target/14558 (ICE while building xfree86 4.3: insn does not satisfy its constra...
Philip Blundell [Fri, 12 Mar 2004 19:21:24 +0000 (19:21 +0000)] 
re PR target/14558 (ICE while building xfree86 4.3: insn does not satisfy its constraints)

2004-03-12  Philip Blundell  <philb@gnu.org>

PR target/14558
Backport from trunk:
2004-02-25  Richard Earnshaw  <rearnsha@arm.com>
* arm.h (ARM_GO_IF_LEGITIMATE_INDEX): For QImode the range of
an offset is -4095...+4095 inclusive.

From-SVN: r79403

21 years agoDaily bump.
GCC Administrator [Fri, 12 Mar 2004 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79356

21 years agore PR target/14539 (128-bit long double improperly aligned)
Richard Henderson [Thu, 11 Mar 2004 23:52:59 +0000 (15:52 -0800)] 
re PR target/14539 (128-bit long double improperly aligned)

        PR target/14539
        * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128.

From-SVN: r79354

21 years agoDaily bump.
GCC Administrator [Thu, 11 Mar 2004 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79281

21 years agore PR middle-end/14289 (ICE in a register array)
Roger Sayle [Wed, 10 Mar 2004 18:37:26 +0000 (18:37 +0000)] 
re PR middle-end/14289 (ICE in a register array)

PR middle-end/14289
* c-typeck.c (c_mark_addressable): A register variable should
be considered global if its not automatic, i.e. TREE_PUBLIC,
TREE_STATIC or DECL_EXTERNAL.
* function.c (put_var_into_stack): Call abort when placing a
hard register into the stack, if x_parm_reg_stack_loc is NULL.

* gcc.dg/pr14289-1.c: New test case.
* gcc.dg/pr14289-2.c: Likewise.
* gcc.dg/pr14289-3.c: Likewise.

From-SVN: r79270

21 years agore PR rtl-optimization/14381 (sched2 moving "may throw" instructions into epilogue)
Andrew Haley [Wed, 10 Mar 2004 17:42:21 +0000 (17:42 +0000)] 
re PR rtl-optimization/14381 (sched2 moving "may throw" instructions into epilogue)

2004-03-10  Andrew Haley  <aph@redhat.com>

        PR optimization/14381
        * function.c (expand_function_end): Emit a blockage insn before
        the epilogue when -fnon-call-exceptions is used.

From-SVN: r79264

21 years agoPR 9638/other
Joel Sherrill [Wed, 10 Mar 2004 17:22:15 +0000 (17:22 +0000)] 
PR 9638/other

2003-02-27  Joel Sherrill <joel@OARcorp.com>

PR 9638/other
* config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
this constant defaults to 1.

From-SVN: r79262

21 years agoDaily bump.
GCC Administrator [Wed, 10 Mar 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79212

21 years agore PR c++/14409 (Accepts invalid function signature for explicit instantiation)
Giovanni Bajo [Tue, 9 Mar 2004 16:23:45 +0000 (16:23 +0000)] 
re PR c++/14409 (Accepts invalid function signature for explicit instantiation)

PR c++/14409
* pt.c (determine_specialization): For member templates, match also
constness.

PR c++/14409
* g++.dg/template/spec12.C: New test.

From-SVN: r79184

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 9 Mar 2004 16:23:45 +0000 (16:23 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79183

21 years agoDaily bump.
GCC Administrator [Tue, 9 Mar 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79136

21 years agors6000.md (ashrdi3): Do not call ashrdi3_no_power for little endian.
Aldy Hernandez [Mon, 8 Mar 2004 04:20:45 +0000 (04:20 +0000)] 
rs6000.md (ashrdi3): Do not call ashrdi3_no_power for little endian.

        * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power
        for little endian.
        ("ashrdi3_no_power"): Disable for little endian.
(ashrdi3): Same.

From-SVN: r79095

21 years agoalpha.h (MASK_LONG_DOUBLE_128): New.
Richard Henderson [Mon, 8 Mar 2004 03:21:46 +0000 (19:21 -0800)] 
alpha.h (MASK_LONG_DOUBLE_128): New.

        * config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New.
        (TARGET_LONG_DOUBLE_128): New.
        (TARGET_SWITCHES): Add long-double-{128,64}.
        (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128.
        (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128.
        (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New.
        (WIDEST_HARDWARE_FP_SIZE): New.
        (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__.
        * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128
        if TARGET_VAX_FLOAT.
        * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove.
        (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128.

From-SVN: r79091

21 years agore PR target/14471 (Workaround for errata regarding multiplication bug)
Hans-Peter Nilsson [Mon, 8 Mar 2004 00:56:30 +0000 (00:56 +0000)] 
re PR target/14471 (Workaround for errata regarding multiplication bug)

PR target/14471
* doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround
and -mno-mul-bug-workaround.
* config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart")
("mulsidi3", "umulsidi3"): Prefix output template with "%!".
("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"):
Ditto.  Make attribute "slottable" dependent on TARGET_MUL_BUG.
* config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make
sure mulu.d is not last on cache-line.
* config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround
into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION.
(TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros.
(TARGET_SWITCHES): New options -mmul-bug-workaround and
-mno-mul-bug-workaround.
(TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG.
(PRINT_OPERAND_PUNCT_VALID_P): Include '!'.
* config/cris/cris.c (cris_operand_extend_operator): Clarify
relation to MULT in head comment.
(cris_op_str): Abort for MULT.
(cris_print_operand) <case '!'>: New case.

From-SVN: r79087

21 years agoDaily bump.
GCC Administrator [Mon, 8 Mar 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79080

21 years ago* config/alpha/alpha.c (alpha_in_small_data_p): False for functions.
Richard Henderson [Sun, 7 Mar 2004 09:01:39 +0000 (01:01 -0800)] 
* config/alpha/alpha.c (alpha_in_small_data_p): False for functions.

From-SVN: r79056

21 years agos390.md ("load_multiple", [...]): Allow only if reload_completed.
Ulrich Weigand [Sun, 7 Mar 2004 02:48:04 +0000 (02:48 +0000)] 
s390.md ("load_multiple", [...]): Allow only if reload_completed.

ChangeLog:

* config/s390/s390.md ("load_multiple", "*load_multiple_di",
"*load_multiple_si"): Allow only if reload_completed.
("store_multiple", "*store_multiple_di", "*store_multiple_si"):
Likewise.

testsuite/ChangeLog:

* gcc.dg/20040306-1.c: New test.

From-SVN: r79049

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 7 Mar 2004 02:48:04 +0000 (02:48 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r79048

21 years agoDaily bump.
GCC Administrator [Sun, 7 Mar 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79034

21 years agos390.c (s390_expand_movstr): Clobber double-word register before initializing high...
Ulrich Weigand [Sat, 6 Mar 2004 19:18:40 +0000 (19:18 +0000)] 
s390.c (s390_expand_movstr): Clobber double-word register before initializing high and low parts separately.

* config/s390/s390.c (s390_expand_movstr): Clobber double-word
register before initializing high and low parts separately.
(s390_expand_clrstr): Likewise.
(s390_expand_cmpstr): Likewise.

From-SVN: r79027

21 years agoDaily bump.
GCC Administrator [Sat, 6 Mar 2004 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r79000

21 years agoltconfig: Disable building static libraries if building shared libraries on AIX 5L.
David Edelsohn [Fri, 5 Mar 2004 21:07:41 +0000 (21:07 +0000)] 
ltconfig: Disable building static libraries if building shared libraries on AIX 5L.

* ltconfig: Disable building static libraries if building shared
libraries on AIX 5L.

From-SVN: r78989

21 years agore PR rtl-optimization/12147 (Wrong code with -O2 in context of reload)
Ulrich Weigand [Fri, 5 Mar 2004 20:16:49 +0000 (20:16 +0000)] 
re PR rtl-optimization/12147 (Wrong code with -O2 in context of reload)

PR optimization/12147
* reload1.c (reload_reg_free_p): RELOAD_OTHER conflicts with
RELOAD_FOR_OPADDR_ADDR.
(reload_reg_reaches_end_p): A RELOAD_FOR_OTHER_ADDRESS register
might be reused as RELOAD_FOR_OPADDR_ADDR register.

From-SVN: r78981

21 years agore PR target/1532 (-O3 generates (obviously) redundant tests and jumps)
Ian Lance Taylor [Fri, 5 Mar 2004 17:55:57 +0000 (17:55 +0000)] 
re PR target/1532 (-O3 generates (obviously) redundant tests and jumps)

PR target/1532
Backport from mainline:

2004-02-24  Kazu Hirata  <kazu@cs.umass.edu>

* cse.c (cse_change_cc_mode_insns): Stop at any instruction
which modifies NEWREG.
(cse_condition_code_reg): Update the mode of CC_REG in
CC_SRC_INSN on our own.

2004-02-11  Richard Henderson  <rth@redhat.com>

* flow.c (insn_dead_p): A clobber of a dead hard register is a
dead insn after reload.

2004-01-24  Ian Lance Taylor  <ian@wasabisystems.com>

* cse.c (cse_cc_succs): Change the mode of the source expression
as soon as decide we need a new mode.  Don't permit changing modes
if we found a match in a successor block.
(cse_condition_code_reg): Save original mode of source expression
so that we know whether we have to change the mode in other
insns.

2004-01-24  Andreas Tobler  <a.tobler@schweiz.ch>

* cse.c: (cse_cc_succs) Fix comparison warning.

2004-01-23  Ian Lance Taylor  <ian@wasabisystems.com>

* cse.c: Include "target.h".
(cse_change_cc_mode): New static function.
(cse_change_cc_mode_insns, cse_cc_succs): Likewise.
(cse_condition_code_reg): New function.
(default_cc_modes_compatible): New function.
* rtl.h (cse_condition_code_reg): Declare.
(default_cc_modes_compatible): Declare.
* toplev.c (rest_of_compilation): Call cse_condition_code_reg.
* target.h (struct gcc_target): Add fixed_condition_code_regs and
cc_modes_compatible.
* target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define.
(TARGET_CC_MODES_COMPATIBLE): Define.
(TARGET_INITIALIZER): Add new initializers.
* targhooks.c (default_cc_modes_compatible): Declare.
* hooks.c (hook_bool_intp_intp_false): New function.
* hooks.h (hook_bool_intp_intp_false): Declare.
* config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define.
(TARGET_CC_MODES_COMPATIBLE): Define.
(ix86_fixed_condition_code_regs): New static function.
(ix86_cc_modes_compatible): Likewise.
* doc/gccint.texi: Add copyright 2004.
* doc/tm.texi (Condition Code): Document new hooks.
* Makefile.in (cse.o): Depend upon $(TARGET_H).

From-SVN: r78979

21 years agore PR inline-asm/6162 (i386 asm reloader ice in reload_cse_simplify_operands)
Ian Lance Taylor [Fri, 5 Mar 2004 17:09:34 +0000 (17:09 +0000)] 
re PR inline-asm/6162 (i386 asm reloader ice in reload_cse_simplify_operands)

PR inline-asm/6162
* reload.c (find_reloads): Only support one pair of commutative
operands.

From-SVN: r78976

21 years agoBackport:
Gabriel Dos Reis [Fri, 5 Mar 2004 12:30:14 +0000 (12:30 +0000)] 
Backport:

        2004-02-04  Mark Mitchell  <mark@codesourcery.com>

        PR c++/9941
        * rtti.c (tinfo_base_init): Use import_export_tinfo to decide
        the
        linkage for the typeinfo name string.

From-SVN: r78965

21 years agoDaily bump.
GCC Administrator [Fri, 5 Mar 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r78946

21 years agoDaily bump.
GCC Administrator [Thu, 4 Mar 2004 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r78871

21 years agore PR c++/13944 (exception in constructor of a class to be thrown is not caught)
Jason Merrill [Wed, 3 Mar 2004 07:40:31 +0000 (02:40 -0500)] 
re PR c++/13944 (exception in constructor of a class to be thrown is not caught)

        PR c++/13944
        * except.c (do_free_exception): Remove #if 0 wrapper.
        (build_throw): Use it if we elide a copy into the exception object.

From-SVN: r78823

21 years agore PR middle-end/11767 (different code behaviour with -fnon-call-exceptions -fprofile...
Richard Henderson [Wed, 3 Mar 2004 00:48:54 +0000 (16:48 -0800)] 
re PR middle-end/11767 (different code behaviour with -fnon-call-exceptions -fprofile-arcs)

        PR middle-end/11767
        * optabs.c (prepare_cmp_insn): Force trapping memories to registers
        before the compare, if flag_non_call_exceptions.
* g++.dg/other/profile1.C: New.

From-SVN: r78808

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 3 Mar 2004 00:48:54 +0000 (00:48 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r78807

21 years agore PR middle-end/14327 (-O0 -fdefer-pop generates wrong code)
Richard Henderson [Wed, 3 Mar 2004 00:34:49 +0000 (16:34 -0800)] 
re PR middle-end/14327 (-O0 -fdefer-pop generates wrong code)

        PR middle-end/14327
        * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before
        emitting the label, not after.

From-SVN: r78801