]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
21 years agoDaily bump.
GCC Administrator [Sat, 27 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75046

21 years agobackport: re PR c++/2294 (using declaration confusion)
Giovanni Bajo [Sat, 27 Dec 2003 00:05:55 +0000 (00:05 +0000)] 
backport: re PR c++/2294 (using declaration confusion)

        Backport from mainline.

        2003-12-16  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

        PR c++/2294
        * decl.c (push_overloaded_decl): always construct an OVERLOAD
        if the declaration comes from an using declaration.

From-SVN: r75045

21 years agobackport: re PR c++/12696 (memory eating infinite loop in diagnostics)
Gabriel Dos Reis [Fri, 26 Dec 2003 04:06:45 +0000 (04:06 +0000)] 
backport: re PR c++/12696 (memory eating infinite loop in diagnostics)

Backport from mainline:
2003-12-16  Mark Mitchell  <mark@codesourcery.com>

        PR c++/12696
        * decl.c (reshape_init): Recover quickly from errors.

From-SVN: r75032

21 years agobackport: re PR c++/12862 (Conflicts Between typedefs/enums and Namespace Member...
Gabriel Dos Reis [Fri, 26 Dec 2003 03:20:20 +0000 (03:20 +0000)] 
backport: re PR c++/12862 (Conflicts Between typedefs/enums and Namespace Member Declarations)

Backport from mainline:
2003-12-22  Mark Mitchell  <mark@codesourcery.com>

PR C++/12862
* decl.c (pushdecl): Look up all namespace-scope entities in
their
corresponding namespace.

From-SVN: r75031

21 years agoDaily bump.
GCC Administrator [Fri, 26 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75027

21 years agoDaily bump.
GCC Administrator [Thu, 25 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75013

21 years agobackport: [multiple changes]
Andrew Pinski [Wed, 24 Dec 2003 22:42:28 +0000 (22:42 +0000)] 
backport: [multiple changes]

2003-12-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR bootstrap/13068
        Backport from mainline:
                2003-05-09  Matt Kraai <kraai@alumni.cmu.edu>

                * mklibgcc.in: Remove extra quotes.
                2003-05-08  Aldy Hernandez  <aldyh@redhat.com>

                * mklibgcc.in: Use mkinstalldirs when installing multilib
                directories.

From-SVN: r75012

21 years agobackport: explow.c (convert_memory_address): Define even when POINTERS_EXTEND_UNSIGNE...
Roger Sayle [Wed, 24 Dec 2003 16:04:46 +0000 (16:04 +0000)] 
backport: explow.c (convert_memory_address): Define even when POINTERS_EXTEND_UNSIGNED is not defined.

Backport from mainline:

2003-09-18  Mark Mitchell  <mark@codesourcery.com>
* explow.c (convert_memory_address): Define even when
POINTERS_EXTEND_UNSIGNED is not defined.  Do nothing if the address
        is already in the right mode.

From-SVN: r75008

21 years agoDaily bump.
GCC Administrator [Wed, 24 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74997

21 years agore PR middle-end/13475 (ICE on SIMD variables with partial value initialization)
Andrew Pinski [Tue, 23 Dec 2003 18:40:43 +0000 (18:40 +0000)] 
re PR middle-end/13475 (ICE on SIMD variables with partial value initialization)

2003-12-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/13475
        Backport from mainline:
                2003-06-19  Aldy Hernandez  <aldyh@redhat.com>

                * expr.c (const_vector_from_tree): Initialize remaining elements
                to 0.

From-SVN: r74977

21 years agore PR target/11576 (internal error at emit-rtl.c:2017)
Kazu Hirata [Tue, 23 Dec 2003 15:10:25 +0000 (15:10 +0000)] 
re PR target/11576 (internal error at emit-rtl.c:2017)

PR target/11576
* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
HIGH on all variants.

From-SVN: r74972

21 years agolinux.h (LIB_SPEC): Use -lpthread when -pthread was specified.
Matthias Klose [Tue, 23 Dec 2003 08:58:00 +0000 (08:58 +0000)] 
linux.h (LIB_SPEC): Use -lpthread when -pthread was specified.

2003-12-23  Matthias Klose  <doko@debian.org>

* config/mips/linux.h (LIB_SPEC): Use -lpthread when
-pthread was specified.

From-SVN: r74967

21 years agore PR rtl-optimization/13394 (noreturn attribute ignored on recursive invokation)
Eric Botcazou [Tue, 23 Dec 2003 06:28:37 +0000 (07:28 +0100)] 
re PR rtl-optimization/13394 (noreturn attribute ignored on recursive invokation)

PR optimization/13394
* toplev.c (rest_of_compilation): Move call to
check_function_return_warnings right after the sibcall
optimization pass.

From-SVN: r74964

21 years agore PR c/13382 (Type information for const pointer disappears during optimisation.)
Eric Botcazou [Tue, 23 Dec 2003 06:23:37 +0000 (07:23 +0100)] 
re PR c/13382 (Type information for const pointer disappears during optimisation.)

PR c/13382
* c-typeck.c (convert_for_assignment): When converting from
integral type to pointer type, always call convert.

From-SVN: r74963

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 23 Dec 2003 06:23:37 +0000 (06:23 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74962

21 years agoDaily bump.
GCC Administrator [Tue, 23 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74956

21 years agore PR c++/5050 (template instantiation depth exceeds/maybe recursion problem)
Andrew Pinski [Mon, 22 Dec 2003 21:00:55 +0000 (21:00 +0000)] 
re PR c++/5050 (template instantiation depth exceeds/maybe recursion problem)

2003-12-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/5050
        * tree.c (cp_start_inlining): Remove.
        (cp_end_inlining): Remove.
        * cp-lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING): Do not define.
        (LANG_HOOKS_TREE_INLINING_END_INLINING): Do not define.
        * cp-tree.h (cp_start_inlining): Do not declare.
        (cp_end_inlining): Do not declare.

PR c++/5050
        * g++.dg/template/recurse1.C: New test.

From-SVN: r74950

21 years agore PR c++/11554 (Warning about reordering of initializers doesn't mention location...
Mark Mitchell [Mon, 22 Dec 2003 06:14:43 +0000 (06:14 +0000)] 
re PR c++/11554 (Warning about reordering of initializers doesn't mention location of constructor)

PR c++/11554
* init.c (sort_mem_initializers): Add warning.

PR c++/11554
* testsuite/g++.dg/warn/ctor-init-1.C: New test.

From-SVN: r74928

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 22 Dec 2003 06:14:43 +0000 (06:14 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74927

21 years agore PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)
Gabriel Dos Reis [Mon, 22 Dec 2003 03:39:10 +0000 (03:39 +0000)] 
re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)

        PR target/11271
        * reload.c: Revert last backport from mainline.  It breaks
        s390.

From-SVN: r74924

21 years agoDaily bump.
GCC Administrator [Mon, 22 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74920

21 years agohpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode.
Roger Sayle [Sun, 21 Dec 2003 23:35:42 +0000 (23:35 +0000)] 
hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode.

* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
when compiling in ILP32 mode.

From-SVN: r74919

21 years agobackport: re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)
Gabriel Dos Reis [Sun, 21 Dec 2003 20:20:05 +0000 (20:20 +0000)] 
backport: re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)

2003-12-21  Gabriel Dos Reis <gdr@integrable-solutions.net>

    Backport from mainline:
    2003-10-31  Richard Earnshaw  <rearnsha@arm.com>

            PR target/11271
            * reload.c (find_reloads_address): Handle any register in
            (PLUS (PLUS (REG) (REG)) (CONST_INT).

From-SVN: r74915

21 years agore PR rtl-optimization/13400 (Compiled code crashes storing to read-only location)
Roger Sayle [Sun, 21 Dec 2003 16:08:06 +0000 (16:08 +0000)] 
re PR rtl-optimization/13400 (Compiled code crashes storing to read-only location)

PR middle-end/13400
* ifcvt.c (noce_process_if_block): Disable unconditional write
optimizations if we could introduce a store to trapping memory
that wasn't present previously.

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

From-SVN: r74910

21 years ago* configure.host: Backport/synchronize from mainline.
Roger Sayle [Sun, 21 Dec 2003 16:01:27 +0000 (16:01 +0000)] 
* configure.host: Backport/synchronize from mainline.

From-SVN: r74909

21 years agoDaily bump.
GCC Administrator [Sun, 21 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74897

21 years agore PR rtl-optimization/13031 (ICE (unrecognizable insn) when building gnome-libs...
Roger Sayle [Sat, 20 Dec 2003 19:59:56 +0000 (19:59 +0000)] 
re PR rtl-optimization/13031 (ICE (unrecognizable insn) when building gnome-libs-1.4.2)

PR optimization/13031
* gcse.c (cprop_jump): Backport code clean-up and bug-fix
from mainline [2003-05-20 Sayle, Hirata and Rennecke patch].
(cprop_insn): Don't attemp further substitutions if the
current instruction has been deleted.
(local_cprop_pass): Likewise.

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

From-SVN: r74891

21 years agoDaily bump.
GCC Administrator [Sat, 20 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74862

21 years agore PR c++/13371 (infinite loop with packed struct and inlining)
Jason Merrill [Fri, 19 Dec 2003 20:23:39 +0000 (15:23 -0500)] 
re PR c++/13371 (infinite loop with packed struct and inlining)

        PR c++/13371
        * typeck.c (build_modify_expr): Stabilize lhs if we're narrowing.

From-SVN: r74845

21 years agore PR c++/13239 (Assertion does not seem to work correctly anymore)
Jakub Jelinek [Fri, 19 Dec 2003 13:54:37 +0000 (14:54 +0100)] 
re PR c++/13239 (Assertion does not seem to work correctly anymore)

PR c++/13239
* builtins.c (expand_builtin_expect_jump): Update
TREE_VALUE (arglist) if unsave_expr_now langhook
created a new tree.

* g++.dg/opt/expect1.C: New test.

From-SVN: r74834

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 19 Dec 2003 13:54:37 +0000 (13:54 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74833

21 years agoDaily bump.
GCC Administrator [Fri, 19 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74810

21 years agore PR c++/12253 ([tree-ssa] ICE on conversion to std::string inside array initialization)
Jason Merrill [Thu, 18 Dec 2003 21:29:21 +0000 (16:29 -0500)] 
re PR c++/12253 ([tree-ssa] ICE on conversion to std::string inside array initialization)

        PR c++/12253
        * init.c (build_vec_init): Initialization of an element from
        an initializer list is also a full-expression.

From-SVN: r74804

21 years agosol2.h (LINK_ARCH32_SPEC): Define in terms of ...
Mark Mitchell [Thu, 18 Dec 2003 20:12:52 +0000 (20:12 +0000)] 
sol2.h (LINK_ARCH32_SPEC): Define in terms of ...

* config/sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
(LINK_ARCH32_SPEC_BASE): ... this new macro.
* config/sparc/sol2-bi.h (LINK_ARCH64_SPEC): Define in terms of
...
(LINK_ARCH64_SPEC_BASE): ... this new macro.
* config/sparc/sol2-gld-bi.h (LINK_ARCH32_SPEC): New macro.
(LINK_ARCH64_SPEC): Likewise.

From-SVN: r74792

21 years agore PR c++/13262 ("xxx is private within this context" when initializing a *self-conta...
Kriang Lerdsuwanakij [Thu, 18 Dec 2003 14:27:49 +0000 (14:27 +0000)] 
re PR c++/13262 ("xxx is private within this context" when initializing a *self-contained* template class)

PR c++/13262
* pt.c (instantiate_decl): Wrap push_nested_class and
pop_nested_class around cp_finish_decl call for static member
variable.

* g++.dg/template/access13.C: New test.

From-SVN: r74782

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 18 Dec 2003 14:27:49 +0000 (14:27 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74781

21 years agoDaily bump.
GCC Administrator [Thu, 18 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74761

21 years agore PR target/11992 (Wrong built-in code for memcmp with length 1<<24 only (1<<24...
Ulrich Weigand [Wed, 17 Dec 2003 21:54:12 +0000 (21:54 +0000)] 
re PR target/11992 (Wrong built-in code for memcmp with length 1<<24 only (1<<24)-1 possible for CLCL-Instruction)

PR target/11992
* config/s390/s390.md ("*cmpmem_long_64"): Use CLCLE instruction
instead of CLCL.
("*cmpmem_long_31"): Likewise.

From-SVN: r74753

21 years agoDaily bump.
GCC Administrator [Wed, 17 Dec 2003 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74722

21 years ago981223-1.x: Add -mb-step to command line options on ia64-*-* instead of XFAILing...
Zack Weinberg [Tue, 16 Dec 2003 23:56:56 +0000 (23:56 +0000)] 
981223-1.x: Add -mb-step to command line options on ia64-*-* instead of XFAILing the test case.

* gcc.c-torture/compile/981223-1.x: Add -mb-step to command line
options on ia64-*-* instead of XFAILing the test case.

From-SVN: r74720

21 years agoBackport the following patches from mainline.
Zack Weinberg [Tue, 16 Dec 2003 23:55:19 +0000 (23:55 +0000)] 
Backport the following patches from mainline.

    2003-12-05  Mark Mitchell  <mark@codesourcery.com>

* config/ia64/ia64.h (MUST_PASS_IN_STACK): Define.

    2003-12-01  James E Wilson  <wilson@specifixinc.com>

* config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not
GR_ARG_FIRST.

    2003-10-21  Zack Weinberg  <zack@codesourcery.com>

* config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
* config/ia64/ia64.c (ia64_expand_fetch_and_op,
ia64_expand_op_and_fetch): Make sure the REG for ar.ccv is
DImode.   Use convert_move to load ar.ccv.
(ia64_expand_compare_and_swap): Likewise.
If expand_expr doesn't put 'old' and 'new' in the proper
modes, run them through convert_to_mode.

    2003-10-14  Steve Ellcey  <sje@cup.hp.com>

* config/ia64/ia64.c (ia64_expand_call): Force function address
to DImode.
* config/ia64/ia64.md (call_gp): Put DImode on operand 0.

    2003-06-11  Richard Henderson  <rth@redhat.com>

* config/ia64/ia64.md (call_gp): Fix memory mode.

    2003-05-14  Eric Christopher  <echristo@redhat.com>

* combine.c: Fix header comments.
(distribute_notes): Remove usage of elim_i1, elim_i2. Propagate
to all calls and prototype.

From-SVN: r74719

21 years agofreebsd.h (FBSD_TARGET_CPU_CPP_BUILTINS): Add __LP64__.
David O'Brien [Tue, 16 Dec 2003 10:54:58 +0000 (10:54 +0000)] 
freebsd.h (FBSD_TARGET_CPU_CPP_BUILTINS): Add __LP64__.

* config/alpha/freebsd.h (FBSD_TARGET_CPU_CPP_BUILTINS): Add __LP64__.
* config/sparc/freebsd.h (FBSD_TARGET_CPU_CPP_BUILTINS): Likewise.
* config/i386/freebsd64.h (FBSD_TARGET_CPU_CPP_BUILTINS): Conditionally
add __LP64__.

From-SVN: r74684

21 years agoaltivec.h (vec_cmple, [...]): Fix typo.
Hartmut Penner [Tue, 16 Dec 2003 08:12:28 +0000 (08:12 +0000)] 
altivec.h (vec_cmple, [...]): Fix typo.

      * altivec.h (vec_cmple, vec_all_numeric): Fix typo.
      * testsuite/gcc.dg/altivec-10.c: Test for above.

From-SVN: r74680

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 16 Dec 2003 08:12:28 +0000 (08:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74679

21 years agoDaily bump.
GCC Administrator [Tue, 16 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74657

21 years agore PR target/13122 (h8300 - local variable gets corrupted by function call when ...
Kazu Hirata [Mon, 15 Dec 2003 20:24:33 +0000 (20:24 +0000)] 
re PR target/13122 (h8300 - local variable gets corrupted by function call when -fomit-frame-pointer is given)

PR target/13122
* config/h8300/h8300.md (pushqi1_h8300hs_normal): New.
(pushqi1): Call gen_pushqi1_h8300hs_normal in normal mode.
(pushhi1_h8300hs_normal): New.
(pushhi1): Call gen_pushqi1_h8300hs_normal in normal mode.

* config/h8300/h8300.h (LINK_SPEC): Support normal mode.
* config/h8300/h8300.c (asm_file_start): Correctly output
an architecture directive.
* config/h8300/lib1funcs.asm: Correctly specify an
architecture directive.

From-SVN: r74646

21 years agoDaily bump.
GCC Administrator [Mon, 15 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74619

21 years agoDaily bump.
GCC Administrator [Sun, 14 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74608

21 years agoDaily bump.
GCC Administrator [Sat, 13 Dec 2003 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74587

21 years agore PR rtl-optimization/13037 ([gcse-lm] g77 generates incorrect code)
Roger Sayle [Fri, 12 Dec 2003 18:37:07 +0000 (18:37 +0000)] 
re PR rtl-optimization/13037 ([gcse-lm] g77 generates incorrect code)

PR optimization/13037
* loop.c (update_giv_derive): Ignore redundant sets of a biv when
calculating how to derive a giv from a biv.

* g77.f-torture/execute/13037.f: New test case.

From-SVN: r74579

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 12 Dec 2003 18:37:07 +0000 (18:37 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74578

21 years agolinux.h (IA64_GATE_AREA_END): Increase by 64K.
Jakub Jelinek [Fri, 12 Dec 2003 16:10:10 +0000 (17:10 +0100)] 
linux.h (IA64_GATE_AREA_END): Increase by 64K.

* config/ia64/linux.h (IA64_GATE_AREA_END): Increase by 64K.
(MD_FALLBACK_FRAME_STATE_FOR): Set fpsr_loc, br_loc[6] and
br_loc[7].  Update comment.
(MD_HANDLE_UNWABI): Define.
* config/ia64/unwind-ia64.c (struct unw_state_record): Add
unwabi field.
(struct _Unwind_Context): Increase br_loc array size to 8 entries.
(desc_abi): Set unwabi.
(uw_update_reg_address): Allow br up to 7.
(uw_update_context): Invoke MD_HANDLE_UNWABI if defined.
(uw_install_context): Load b1..b5 from correct locations.
Fix insn loading ar.fpsr.
* doc/tm.texi: Document MD_HANDLE_UNWABI.

* g++.dg/eh/ia64-1.C: New test.

From-SVN: r74574

21 years agore PR target/13256 (strict_low_part mistreated in delay slots)
Hans-Peter Nilsson [Fri, 12 Dec 2003 14:01:40 +0000 (14:01 +0000)] 
re PR target/13256 (strict_low_part mistreated in delay slots)

PR target/13256
Backport from mainline:
* resource.h (enum mark_resource_type): Remove member MARK_DEST.
The only user changed as follows:
* resource.c (mark_set_resources) <case SET>: Always recurse for
SET_SRC (x).
<case SIGN_EXTRACT, case ZERO_EXTRACT>: Always recurse on
operands.
<case STRICT_LOW_PART>: Delete, deferring to default code.

From-SVN: r74570

21 years agore PR target/12598 (Invalid size optimization on volatile memory reference)
Hans-Peter Nilsson [Fri, 12 Dec 2003 13:58:01 +0000 (13:58 +0000)] 
re PR target/12598 (Invalid size optimization on volatile memory reference)

PR target/12598
Backport from mainline:
* config/cris/cris.md (define_split "*mov_sidesi_biap_mem"+1)
(define_splits "*mov_sidesi_mem"+1, "casesi"+9, +10, +11, +12):
Use cris_mem_op and replace_equiv_address, not gen_rtx_MEM.
("call", "call_value", define_split "*mov_sidesi_mem"+19, +20)
(define_split "*mov_sidesi_mem"+21, +22, +23, +24, +25, +26, +27)
(define_split "*mov_sidesi_mem"+28, +29, +30): Use
replace_equiv_address, not gen_rtx_MEM.
* config/cris/cris.c (cris_mem_op): New match_operator function.
(cris_notice_update_cc): Use replace_equiv_address, not
gen_rtx_MEM.
* config/cris/cris.h (PREDICATE_CODES): Add cris_mem_op.

From-SVN: r74569

21 years agore PR target/13256 (strict_low_part mistreated in delay slots)
Hans-Peter Nilsson [Fri, 12 Dec 2003 13:48:37 +0000 (13:48 +0000)] 
re PR target/13256 (strict_low_part mistreated in delay slots)

PR target/13256
PR target/12598
Backport from mainline:
* gcc.dg/torture/dg-torture.exp: New directory.  New file.
* gcc.dg/torture/cris-volatile-1.c: New test.
* gcc.c-torture/execute/20031201-1.c: New test.

From-SVN: r74568

21 years agoxwin1.c: Remove, breaks testsuite (and I don't know how to make it work).
Nathanael Nerode [Fri, 12 Dec 2003 13:34:41 +0000 (13:34 +0000)] 
xwin1.c: Remove, breaks testsuite (and I don't know how to make it work).

* gcc.dg/cpp/trad/xwin1.c: Remove, breaks testsuite (and I don't
know how to make it work).

From-SVN: r74567

21 years agoDaily bump.
GCC Administrator [Fri, 12 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74553

21 years agobackport: re PR rtl-optimization/13318 (ICE: floating point exception in the loop...
Eric Botcazou [Thu, 11 Dec 2003 08:13:51 +0000 (09:13 +0100)] 
backport: re PR rtl-optimization/13318 (ICE: floating point exception in the loop optimizer)

Backport from mainline:

2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>

PR optimization/13318
* loop.c (express_from): Protect integer division from overflow.

From-SVN: r74532

21 years agobackport: re PR rtl-optimization/13060 ([g77] ICE in fixup_var_refs_1, at function...
Eric Botcazou [Thu, 11 Dec 2003 07:58:00 +0000 (08:58 +0100)] 
backport: re PR rtl-optimization/13060 ([g77] ICE in fixup_var_refs_1, at function.c:1947 on correct code with "-O2 -fno-force-mem")

Backport from mainline:

2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>

PR optimization/13060
* function.c (fixup_var_refs_1) [SUBREG]: Recognize even if a
replacement already exists.  Fix again the whole insn if that fails.

From-SVN: r74531

21 years agobackport: re PR rtl-optimization/12965 (SEGV+ICE in cc1plus on alpha-linux with -O2)
Eric Botcazou [Thu, 11 Dec 2003 07:48:07 +0000 (08:48 +0100)] 
backport: re PR rtl-optimization/12965 (SEGV+ICE in cc1plus on alpha-linux with -O2)

Backport from mainline:

2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>

PR optimization/12965
* caller-save.c (save_call_clobbered_regs): Do not save/restore
registers around no-return calls.

From-SVN: r74530

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 11 Dec 2003 07:48:07 +0000 (07:48 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74529

21 years agogcc_update (files_and_dependencies): Correct typo in the filename gnat_ug_wnt.texi.
Kelley Cook [Thu, 11 Dec 2003 01:20:42 +0000 (01:20 +0000)] 
gcc_update (files_and_dependencies): Correct typo in the filename gnat_ug_wnt.texi.

2003-12-10  Kelley Cook  <kcook@gcc.gnu.org>

* gcc_update (files_and_dependencies): Correct typo in the filename
gnat_ug_wnt.texi.

From-SVN: r74524

21 years agore PR libstdc++/6243 (testsuite fails almost all tests due to no libintl in LD_LIBRAR...
Benjamin Kosnik [Thu, 11 Dec 2003 01:19:00 +0000 (01:19 +0000)] 
re PR libstdc++/6243 (testsuite fails almost all tests due to no libintl in LD_LIBRARY_PATH during test.)

2003-12-10  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6243
* testsuite/lib/libstdc++.exp (v3-init): Add
original_ld_library_path, calculate ld_library path, set
LD_LIBRARY_PATH to both. Based on libjava.exp.

From-SVN: r74523

21 years agoDaily bump.
GCC Administrator [Thu, 11 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74517

21 years agore PR testsuite/10819 (testsuite creates CR+LF on compiler version lines in test...
Robert Schiele [Wed, 10 Dec 2003 23:38:20 +0000 (23:38 +0000)] 
re PR testsuite/10819 (testsuite creates CR+LF on compiler version lines in test summary files)

2003-12-10  Robert Schiele  <rschiele@uni-mannheim.de>

        PR other/10819
        * lib/gcc.exp (default_gcc_version): Do not match NL/CR characters
        to fix Bug 10819.
        * lib/g++.exp (g++_version): Likewise.
        * lib/g77.exp (g77_version): Likewise.
        * lib/objc.exp (default_objc_version): Likewise.

From-SVN: r74515

21 years agore PR libstdc++/11612 (abi_check not finding correct libgcc_s.so.1)
Benjamin Kosnik [Wed, 10 Dec 2003 21:53:55 +0000 (21:53 +0000)] 
re PR libstdc++/11612 (abi_check not finding correct libgcc_s.so.1)

2003-12-10  Benjamin Kosnik  <bkoz@redhat.com>
            Alexandre Oliva  <aoliva@redhat.com>

PR libstdc++/11612
* testsuite/Makefile.am (GLIBCXX_DIR): New.
(GLIBGCC_DIR): New.
(CXXLINK): Use both with -R so libtool links the correct libs.

Co-Authored-By: Alexandre Oliva <aoliva@redhat.com>
From-SVN: r74510

21 years agoemit-rtl.c (copy_rtx_if_shared_1): Fix warning.
Andrew Pinski [Wed, 10 Dec 2003 17:37:18 +0000 (17:37 +0000)] 
emit-rtl.c (copy_rtx_if_shared_1): Fix warning.

2003-12-10  Andrew Pinski  <pinskia@physics.uc.edu>

        * emit-rtl.c (copy_rtx_if_shared_1): Fix warning.

From-SVN: r74504

21 years agobackport: cpptrad.c (_cpp_scan_out_logical_line): Improve test for whether directive...
Nathanael Nerode [Wed, 10 Dec 2003 16:57:06 +0000 (16:57 +0000)] 
backport: cpptrad.c (_cpp_scan_out_logical_line): Improve test for whether directive begins at the beginning of a line.

Backport from mainline (fixes unreported regression):
* cpptrad.c (_cpp_scan_out_logical_line): Improve test for
  whether directive begins at the beginning of a line.

(testsuite)
Backport from mainline:
* gcc.dg/cpp/trad/xwin1.c: New test case.

From-SVN: r74502

21 years agore PR target/13354 (internal compiler error: in sparc_emit_set_const32)
Eric Botcazou [Wed, 10 Dec 2003 15:30:38 +0000 (16:30 +0100)] 
re PR target/13354 (internal compiler error: in sparc_emit_set_const32)

PR target/13354
* config/sparc/sparc.c (sparc_output_mi_thunk): Load DELTA
manually if one can do that with only one instruction.

From-SVN: r74500

21 years agobackport: uninit-C.c: XFAIL on non 64-bit Solaris versions.
Eric Botcazou [Wed, 10 Dec 2003 15:18:13 +0000 (16:18 +0100)] 
backport: uninit-C.c: XFAIL on non 64-bit Solaris versions.

Backport from mainline:

2003-11-05  Eric Botcazou  <ebotcazou@libertysurf.fr>

* gcc.dg/uninit-C.c: XFAIL on non 64-bit Solaris versions.

From-SVN: r74498

21 years ago[multiple changes]
Kelley Cook [Wed, 10 Dec 2003 04:22:50 +0000 (04:22 +0000)] 
[multiple changes]

2003-12-09  Kelley Cook  <kelleycook@wideopenwest.com>

2003-06-04  Kelley Cook  <kelleycook@wideopenwest.com>
PR optimization/4490
* config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.

From-SVN: r74485

21 years agoDaily bump.
GCC Administrator [Wed, 10 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74480

21 years agore PR libstdc++/12496 (wrong result for __atomic_add(&value, -1) when using -O0 ...
David S. Miller [Tue, 9 Dec 2003 05:44:00 +0000 (21:44 -0800)] 
re PR libstdc++/12496 (wrong result for __atomic_add(&value, -1) when using -O0 -m64)

2003-12-08  David S. Miller  <davem@redhat.com>

PR libstdc++/12496
* config/cpu/sparc/atomicity.h (__exchange_and_add, __atomic_add):
Extend increment to _Atomic_word before giving to assembler.

From-SVN: r74466

21 years agoDaily bump.
GCC Administrator [Tue, 9 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74450

21 years agore PR target/13150 (WEAK symbols not exported by collect2)
David Edelsohn [Mon, 8 Dec 2003 19:02:39 +0000 (19:02 +0000)] 
re PR target/13150 (WEAK symbols not exported by collect2)

        PR target/13150
        * collect2.c (GCC_OK_SYMBOL): Add support for AIX C_WEAKEXT.
        (GCC_UNDEF_SYMBOL): Same.

Co-Authored-By: Graham Reed <greed@pobox.com>
From-SVN: r74426

21 years agore PR middle-end/10060 (ICE (stack overflow) on huge file (300k lines) due to recursi...
Andrew Pinski [Mon, 8 Dec 2003 17:36:59 +0000 (17:36 +0000)] 
re PR middle-end/10060 (ICE (stack overflow) on huge file (300k lines) due to recursive behaviour of copy_rtx_if_shared, in emit_rtl.c)

2003-12-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/10060
        * emit-rtl.c (copy_rtx_if_shared): Split out into ...
        (copy_rtx_if_shared_1): here and optimize the last one
        in the sequence into tail-recursion.
        (reset_used_flags): Optimize the last one
        in the sequence into tail-recursion.

From-SVN: r74425

21 years agoDaily bump.
GCC Administrator [Mon, 8 Dec 2003 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74401

21 years agors6000.c (rs6000_elf_section_type_flags): Don't set SECTION_WRITE on TARGET_RELOCATABLE.
Alan Modra [Sun, 7 Dec 2003 07:53:22 +0000 (07:53 +0000)] 
rs6000.c (rs6000_elf_section_type_flags): Don't set SECTION_WRITE on TARGET_RELOCATABLE.

* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
set SECTION_WRITE on TARGET_RELOCATABLE.

From-SVN: r74382

21 years agoDaily bump.
GCC Administrator [Sun, 7 Dec 2003 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74375

21 years agore PR c++/13323 (Template code does not compile in presence of typedef)
Mark Mitchell [Sat, 6 Dec 2003 22:19:30 +0000 (22:19 +0000)] 
re PR c++/13323 (Template code does not compile in presence of typedef)

PR c++/13323
* class.c (same_signature_p): Handle conversion operators
correctly.
(check_for_override): Likewise.

PR c++/13323
* g++.dg/inherit/operator2.C: New test.

From-SVN: r74372

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 6 Dec 2003 22:19:30 +0000 (22:19 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74371

21 years agoCheck in the right patch with the right comment.
Andrew Pinski [Sat, 6 Dec 2003 03:53:02 +0000 (19:53 -0800)] 
Check in the right patch with the right comment.

From-SVN: r74358

21 years agore PR driver/13211 (using -###, warns about unused linker file)
Andrew Pinski [Sat, 6 Dec 2003 03:50:04 +0000 (03:50 +0000)] 
re PR driver/13211 (using -###, warns about unused linker file)

2003-12-05  Andrew Pinski <pinskia@physics.uc.edu>

        PR driver/13211
        * gcc.c (execute) Increment execution_count when returning
        early because verbose_only_flag is true.

From-SVN: r74357

21 years agoDaily bump.
GCC Administrator [Sat, 6 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74353

21 years agore PR fortran/12633 (logical expression gives incorrect result with -fugly-logint...
Toon Moene [Fri, 5 Dec 2003 19:51:12 +0000 (20:51 +0100)] 
re PR fortran/12633 (logical expression gives incorrect result with -fugly-logint option)

2003-12-05  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/12633
Revert 2002-05-09  Hassan Aurag  <aurag@cae.com>

* expr.c (ffeexpr_reduced_ugly2log_): Allow logicals-as-integers
under -fugly-logint as arguments of .and., .or., .xor.

From-SVN: r74343

21 years agore PR target/13302 (Putting a va_list in a struct causes seg fault)
Stuart Menefy [Fri, 5 Dec 2003 15:56:37 +0000 (15:56 +0000)] 
re PR target/13302 (Putting a va_list in a struct causes seg fault)

2003-12-05  Stuart Menefy <stuart.menefy@st.com>
            J"orn Rennecke <joern.rennecke@superh.com>

        PR target/13302
gcc:
        * sh.c (sh_build_builtin_va_list): Use (*lang_hooks.types.make_type).
testsuite:
        * g++.dg/other/struct-va_list.C: New test.

Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>
From-SVN: r74336

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 5 Dec 2003 15:56:37 +0000 (15:56 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74335

21 years ago+ PR target/11322 + * config/sh/netbsd-elf.h (NO_PROFILE_COUNTERS): Define.
Andrew Pinski [Fri, 5 Dec 2003 04:42:06 +0000 (04:42 +0000)] 
+ PR target/11322 + * config/sh/netbsd-elf.h (NO_PROFILE_COUNTERS): Define.

+       PR target/11322
+       * config/sh/netbsd-elf.h (NO_PROFILE_COUNTERS): Define.
+

From-SVN: r74308

21 years agore PR target/12467 (vmsumubm emitted when vmsummbm appropriate)
Andrew Pinski [Fri, 5 Dec 2003 03:53:04 +0000 (03:53 +0000)] 
re PR target/12467 (vmsumubm emitted when vmsummbm appropriate)

2003-12-04  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/12467
        * config/rs6000/altivec.md (altivec_vmsummbm): Fix typo.

From-SVN: r74307

21 years agoMakefile.in (stmp-fixinc): Don't bail out if SYSTEM_HEADER_DIR does not exist and...
H.J. Lu [Fri, 5 Dec 2003 00:57:19 +0000 (00:57 +0000)] 
Makefile.in (stmp-fixinc): Don't bail out if SYSTEM_HEADER_DIR does not exist and it's the default...

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (stmp-fixinc): Don't bail out if SYSTEM_HEADER_DIR
does not exist and it's the default sys-include directory.

From-SVN: r74303

21 years agoDaily bump.
GCC Administrator [Fri, 5 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74299

21 years agore PR libstdc++/13290 ([3.3 only] gcc 3.3.x: simple typo in concept checking for...
Christopher Saunders [Thu, 4 Dec 2003 18:45:42 +0000 (18:45 +0000)] 
re PR libstdc++/13290 ([3.3 only] gcc 3.3.x: simple typo in concept checking for std::generate_n)

2003-12-04  Christopher Saunders  <ctsa@u.washington.edu>

PR libstdc++/13290
* include/bits/stl_algo.h (generate_n): Fix typo.

From-SVN: r74284

21 years agohpux.h (TARGET_HAVE_TLS): Define it to false.
Mark Mitchell [Thu, 4 Dec 2003 04:47:17 +0000 (04:47 +0000)] 
hpux.h (TARGET_HAVE_TLS): Define it to false.

* config/ia64/hpux.h (TARGET_HAVE_TLS): Define it to false.
* config/ia64/ia64.h (TARGET_HAVE_TLS): Define it to true if
HAVE_AS_TLS is true.
* config/ia64/ia64.c (TARGET_HAVE_TLS): Do not define it.

From-SVN: r74268

21 years agore PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*))
Benjamin Kosnik [Thu, 4 Dec 2003 03:10:53 +0000 (03:10 +0000)] 
re PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*))

2003-12-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_ios.h (basic_ios::setstate): Revert.
* include/bits/istream.tcc: Only call setstate if __err != goodbit.
* include/bits/ostream.tcc: Same.
* testsuite/27_io/basic_ios/exceptions/char/2.cc: New.

2003-12-03  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/9371
PR libstdc++/9546
PR libstdc++/10093
PR libstdc++/10095
* include/bits/basic_ios.h (basic_ios::setstate): Elide if goodbit.
(basic_ios::_M_setstate): Consolidate common error handling code.
* include/bits/basic_ios.tcc: Tweak.
* include/bits/fstream.tcc: Tweak.
* include/bits/istream.tcc: Use _M_setstate for common exception
handling. Move setstate calls after catch.
(basic_istream::tellg): Check for exceptions thrown by streambuf
virtual functions.
(basic_istream::seekg): Same.
* include/bits/ostream.tcc: Same, but for ostream.
(basic_ostream::flush): Check for exceptions thrown by streambuf
virtual functions.
(basic_istream::tellp): Same.
(basic_istream::seekp): Same.
* include/bits/locale_facets.tcc: Tweak.
* include/bits/streambuf.tcc: Tweak.
(__copy_streambufs): Propagate exceptions.

From-SVN: r74265

21 years ago[multiple changes]
Gabriel Dos Reis [Thu, 4 Dec 2003 02:18:22 +0000 (02:18 +0000)] 
[multiple changes]

       2003-11-29  James E Wilson  <wilson@specifixinc.com>
       * gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name
       instead of in shared_name.
       2003-11-20 David Mosberger  <davidm@hpl.hp.com>
       * config/t-libunwind (LIB2ADDEH): Add unwind-c.c.
       (SHLIB_LC): Define.
       * unwind-libunwind.c (_Unwind_GetCFA): Implement.
       (_Unwind_GetBSP) [UNW_TARGET_IA64]: New function.

From-SVN: r74262

21 years agoDaily bump.
GCC Administrator [Thu, 4 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74256

21 years agoexpr.c (store_constructor): Only set RTX_UNCHANGING_P for read-only field if cleared...
Jakub Jelinek [Wed, 3 Dec 2003 22:38:06 +0000 (23:38 +0100)] 
expr.c (store_constructor): Only set RTX_UNCHANGING_P for read-only field if cleared is 0.

* expr.c (store_constructor): Only set RTX_UNCHANGING_P for
read-only field if cleared is 0.

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

From-SVN: r74250

21 years agore PR other/12969 (Including sys/byteorder.h breaks configure checks)
Kean Johnston [Wed, 3 Dec 2003 20:10:43 +0000 (20:10 +0000)] 
re PR other/12969 (Including sys/byteorder.h breaks configure checks)

2003-12-03  Kean Johnston  <jkj@sco.com>

PR 12969
* fixinc/inclhack.def (AAB_svr4_replace_byteorder): Revert the
change I made on 2003-08-11 that removes the mach lines.
Restore them to the same list thats in the head, as per
Nathanael Nerode's changes.
* fixinc/fixincl.x: Regenerated
* fixinc/tests/base/ansi/string.h: Fix test case

From-SVN: r74242

21 years agore PR target/8407 ([IA-64] ICE in simplify_gen_subreg, at simplify-rtx.c:2711 with...
James E Wilson [Wed, 3 Dec 2003 19:58:38 +0000 (19:58 +0000)] 
re PR target/8407 ([IA-64] ICE in simplify_gen_subreg, at simplify-rtx.c:2711 with very simple code)

PR target/8407
* config/ia64/ia64.c (ia64_function_arg): For single-reg HFA, call
gen_rtx_REG to create new reg with argument mode.

From-SVN: r74241

21 years agobackport: 20031031-2.c: New test.
Josef Zlomek [Wed, 3 Dec 2003 07:15:44 +0000 (07:15 +0000)] 
backport: 20031031-2.c: New test.

Backport from mainline

2003-10-31  Josef Zlomek  <zlomekj@suse.cz>

PR/10239
* gcc.c-torture/compile/20031031-2.c: New test.

2003-10-31  Josef Zlomek  <zlomekj@suse.cz>

PR/11640
* gcc.c-torture/compile/20031031-1.c: New test.

From-SVN: r74219