]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
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

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

From-SVN: r78800

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

From-SVN: r78794

21 years agocppinit.c (init_standard_includes): Check that sysroot string is not empty.
Danny Smith [Tue, 2 Mar 2004 20:09:15 +0000 (20:09 +0000)] 
cppinit.c (init_standard_includes): Check that sysroot string is not empty.

* cppinit.c (init_standard_includes): Check that sysroot
string is not empty.

From-SVN: r78776

21 years agobackport: re PR debug/14328 (gcc3.2.2 generates incorrect debugging enum values)
Gabriel Dos Reis [Tue, 2 Mar 2004 13:47:27 +0000 (13:47 +0000)] 
backport: re PR debug/14328 (gcc3.2.2 generates incorrect debugging enum values)

Backport from 3.4.0:
2004-02-29  Mark Mitchell  <mark@codesourcery.com>
PR debug/14328
* dwarf2out.c (gen_enumeration_type_die): Output all
enumeration
constants as signed values.

2004-01-16  J"orn Rennecke <joern.rennecke@superh.com>
        PR optimization/11864
        * reload1.c (reload_cse_simplify_operands): Don't remove
        implicit extension from LOAD_EXTEND_OP.

From-SVN: r78757

21 years ago* decl.c (current_binding_level): Define as an lvalue.
Gabriel Dos Reis [Tue, 2 Mar 2004 02:49:21 +0000 (02:49 +0000)] 
* decl.c (current_binding_level): Define as an lvalue.

From-SVN: r78743

21 years agore PR bootstrap/14348 ([3.3 only] Cannot bootstrap GCC-3.3.x with GCC-3.5 (experimental))
Gabriel Dos Reis [Tue, 2 Mar 2004 02:18:17 +0000 (02:18 +0000)] 
re PR bootstrap/14348 ([3.3 only] Cannot bootstrap GCC-3.3.x with GCC-3.5 (experimental))

include/
        PR bootstrap/14348
        Backport
        2003-10-22  Joseph S. Myers  <jsm@polyomino.org.uk>
        * obstack.h: Merge the following change from gnulib:
        2003-10-21  Paul Eggert  <eggert@twinsun.com>
        * obstack.h (obstack_1grow_fast): Properly parenthesize arg.
        (obstack_ptr_grow_fast, obstack_int_grow_fast):
        Don't use lvalue casts, as GCC plans to remove support for
        them
        in GCC 3.5.  Reported by Joseph S. Myers.  This bug
        was also present in the non-GCC version, indicating that this
        code had always been buggy and had never been widely used.
        (obstack_1grow, obstack_ptr_grow, obstack_int_grow,
        obstack_blank):
        Use the fast variant of each macro, rather than copying the
        definiens of the fast variant; that way, we'll be more likely
        to
        catch future bugs in the fast variants.
libobjc/
        PR bootstrap/14348
        Backport
        2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
        * objc/hash.h (hash_string): Don't use a cast as an lvalue.

From-SVN: r78740

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

From-SVN: r78729

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

From-SVN: r78684

21 years agore PR target/14346 ([3.3 only] With -fpic/-fPIC, thunks jump through PLT, not directl...
Hans-Peter Nilsson [Sun, 29 Feb 2004 21:46:28 +0000 (21:46 +0000)] 
re PR target/14346 ([3.3 only] With -fpic/-fPIC, thunks jump through PLT, not directly to thunked function)

PR target/14346
* config/cris/cris.c (cris_asm_output_mi_thunk): For PIC, prepend
TAB to jumping "add.d" insn.  Avoid PLT indirection by equating a
local symbol and jumping through it.

From-SVN: r78675

21 years agoFix email.
Gabriel Dos Reis [Sun, 29 Feb 2004 19:15:01 +0000 (19:15 +0000)] 
Fix email.

From-SVN: r78665

21 years agobackport: re PR target/10904 (invalid (misaligned) FP register at -O2)
Gabriel Dos Reis [Sun, 29 Feb 2004 17:59:25 +0000 (17:59 +0000)] 
backport: re PR target/10904 (invalid (misaligned) FP register at -O2)

Backport from mainline:
2004-01-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
PR target/10904
PR target/13058
* config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): New.
Forbid mode changes from SImode for lower FP regs if ARCH64.

From-SVN: r78656

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

From-SVN: r78641

21 years agopa.h (TRAMPOLINE_TEMPLATE, [...]): Backport fixes from 3.5.
John David Anglin [Sat, 28 Feb 2004 23:44:41 +0000 (23:44 +0000)] 
pa.h (TRAMPOLINE_TEMPLATE, [...]): Backport fixes from 3.5.

* pa.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_CODE_SIZE,
MIN_CACHELINE_SIZE, INITIALIZE_TRAMPOLINE): Backport fixes from 3.5.
* pa.md (anddi3, dcacheflush, icacheflush): Likewise.

From-SVN: r78639

21 years ago* pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.
John David Anglin [Sat, 28 Feb 2004 23:32:07 +0000 (23:32 +0000)] 
* pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg.

From-SVN: r78637

21 years agore PR rtl-optimization/7871 (ICE on legal code, global register variables problems)
Ian Lance Taylor [Sat, 28 Feb 2004 13:36:28 +0000 (13:36 +0000)] 
re PR rtl-optimization/7871 (ICE on legal code, global register variables problems)

PR optimization/7871
* flow.c (mark_set_1): Don't add LOG_LINKS for global registers
from or to call insns.
(propagate_one_insn): Interpret calls as setting global registers,
not merely clobbering them.

From-SVN: r78618

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

From-SVN: r78592

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

From-SVN: r78536

21 years agoRichard Earnshaw <rearnsha@arm.com>
Richard Earnshaw [Thu, 26 Feb 2004 14:10:01 +0000 (14:10 +0000)] 
Richard Earnshaw  <rearnsha@arm.com>
Daniel Jacobowitz  <drow@mvista.com>

PR target/14302
* arm.h (ARM_GO_IF_LEGITIMATE_ADDRESS): Don't check the mode
size for minipool references.

Co-Authored-By: Daniel Jacobowitz <drow@mvista.com>
From-SVN: r78497

21 years agore PR java/12890 (ICE on compilation of class with throwing method)
Andrew Haley [Thu, 26 Feb 2004 11:13:57 +0000 (11:13 +0000)] 
re PR java/12890 (ICE on compilation of class with throwing method)

2004-02-26  Andrew Haley  <aph@redhat.com>

        PR java/12890:
        * parse.y (do_resolve_class): Check return value from
        breakdown_qualified().

From-SVN: r78494

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

From-SVN: r78467

21 years agoinline4.C (dg-final): Robustify regexp.
John David Anglin [Wed, 25 Feb 2004 21:01:19 +0000 (21:01 +0000)] 
inline4.C (dg-final): Robustify regexp.

* g++.dg/opt/inline4.C (dg-final): Robustify regexp.
* g++.dg/opt/inline6.C (dg-final): Robustify regexp.

From-SVN: r78452

21 years agore PR target/14166 (GCC-3.3.3 build fails with internal compiler error)
Richard Earnshaw [Wed, 25 Feb 2004 11:50:25 +0000 (11:50 +0000)] 
re PR target/14166 (GCC-3.3.3 build fails with internal compiler error)

PR target/14166
* arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Only allow constant pool
references from SImode.
* arm.md (thumb_movhi_insn): Don't allow minipool references.

From-SVN: r78428

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

From-SVN: r78404

21 years agobackport: xtensa_reorg instead; remove irrelevant portions of the patch)
Bob Wilson [Tue, 24 Feb 2004 19:44:12 +0000 (19:44 +0000)] 
backport: xtensa_reorg instead; remove irrelevant portions of the patch)

Backport from mainline (changes to xtensa_expand_prologue go into
xtensa_reorg instead; remove irrelevant portions of the patch)

2004-02-09  Bob Wilson  <bob.wilson@acm.org>:

* config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update.
(init_cumulative_args): Likewise.
(a7_overlap_mentioned_p): Delete prototype.
* config/xtensa/xtensa.c (struct machine_function): Replace
incoming_a7_copied field with need_a7_copy and vararg_a7 flags.
Add set_frame_ptr_insn field.
(xtensa_emit_move_sequence): Update call to xtensa_copy_incoming_a7.
(xtensa_copy_incoming_a7): Rewrite to check need_a7_copy flag and check
if the operand is an argument in a7.  If so, copy a7 to a new pseudo
at the function entry and replace the operand with the pseudo.
(init_cumulative_args): Remove unused arguments.  Add new "incoming"
argument and record this flag in CUMULATIVE_ARGS.
(function_arg): Remove result_mode and special-case code to handle
arguments in a7.  Instead, set need_a7_copy flag when there is an
incoming argument in a7.
(xtensa_expand_prologue): Remove code to search for set_frame_ptr insn
and use the value recorded in cfun->machine->set_frame_ptr_insn.
(xtensa_builtin_saveregs): Check for negative gp_left value.  Set
need_a7_copy and vararg_a7 flags.  Use move_block_from_reg instead of
special-case code.
(a7_overlap_mentioned_p): Delete.
* config/xtensa/xtensa.h (CUMULATIVE_ARGS): Add "incoming" flag.
(INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Remove useless
arguments to init_cumulative_args and pass "incoming" flag instead.
(BLOCK_REG_PADDING): Delete.
* config/xtensa/xtensa.md (movdi, movsf, movdf): Remove unnecessary
checks for reload_in_progress and reload_completed.  Update calls to
xtensa_copy_incoming_a7.
(ashlsi3): Rename existing insn to ashlsi3_internal.  Add expander
to call xtensa_copy_incoming_a7.

From-SVN: r78381

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

From-SVN: r78339

21 years agore PR c++/13635 (ICE in register_specialization for specific order of template specia...
Kriang Lerdsuwanakij [Mon, 23 Feb 2004 14:43:12 +0000 (14:43 +0000)] 
re PR c++/13635 (ICE in register_specialization for specific order of template specialization)

PR c++/13635
* pt.c (push_template_decl_real): Make sure DECL_TI_ARGS of DECL
has full set of arguments.

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

From-SVN: r78307

21 years agore PR c++/14250 (switch() does not seem to see operator int() in template class)
Giovanni Bajo [Mon, 23 Feb 2004 12:52:18 +0000 (12:52 +0000)] 
re PR c++/14250 (switch() does not seem to see operator int() in template class)

PR c++/14250
* g++.dg/other/switch1.C: New test.

From-SVN: r78302

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 23 Feb 2004 12:52:18 +0000 (12:52 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r78301

21 years agore PR c++/14250 (switch() does not seem to see operator int() in template class)
Giovanni Bajo [Mon, 23 Feb 2004 12:50:50 +0000 (12:50 +0000)] 
re PR c++/14250 (switch() does not seem to see operator int() in template class)

PR c++/14250
* cvt.c (build_expr_type_conversion): Type must be complete before
looking up for conversions.

From-SVN: r78300

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

From-SVN: r78283

21 years agoi386.c (override_options): Don't imply 3DNow!
Jakub Jelinek [Sun, 22 Feb 2004 19:09:09 +0000 (20:09 +0100)] 
i386.c (override_options): Don't imply 3DNow!

* config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
by default.

From-SVN: r78274

21 years agodecl.c (reshape_init): Convert array designator to sizetype.
Jakub Jelinek [Sun, 22 Feb 2004 19:04:51 +0000 (20:04 +0100)] 
decl.c (reshape_init): Convert array designator to sizetype.

* decl.c (reshape_init): Convert array designator to sizetype.

* g++.dg/parse/init1.C: New test.

From-SVN: r78273

21 years agore PR libstdc++/14220 ([3.5] num_put::do_put() undesired float/double behavior)
Paolo Carlini [Sun, 22 Feb 2004 17:57:21 +0000 (17:57 +0000)] 
re PR libstdc++/14220 ([3.5] num_put::do_put() undesired float/double behavior)

2004-02-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/14220
* include/bits/locale_facets.tcc (num_put<>::_M_convert_float):
Don't clip the precision passed down to __convert_from_v:
22.2.2.2.2 nowhere says so.

From-SVN: r78268

21 years agore PR target/13918 ([ia64] bootstrap comparision failure)
James E Wilson [Sun, 22 Feb 2004 17:56:49 +0000 (17:56 +0000)] 
re PR target/13918 ([ia64] bootstrap comparision failure)

2004-02-22  James E Wilson  <wilson@specifixinc.com>

PR target/13918
* sched-ebb.c (ebb_sched_info): Disable use of cselib.

From-SVN: r78267

21 years agobackport: re PR c++/14083 (ICE in conditional expression operator with throw)
Gabriel Dos Reis [Sun, 22 Feb 2004 17:02:12 +0000 (17:02 +0000)] 
backport: re PR c++/14083 (ICE in conditional expression operator with throw)

Backport from mainline
        2004-02-13  Mark Mitchell  <mark@codesourcery.com>
PR c++/14083
* call.c (build_conditional_expr): Call force_rvalue on the
non-void operand in the case that one result is a throw-expression
and the other is not.

From-SVN: r78266

21 years agobackport: re PR c++/14033 (tree check: expected class 't', have 'x' (error_mark)...
Gabriel Dos Reis [Sun, 22 Feb 2004 16:42:33 +0000 (16:42 +0000)] 
backport: re PR c++/14033 (tree check: expected class 't', have 'x' (error_mark) in initialize_inlined_parameters, at tree-inline.c:829)

Backport from mainline
2003-02-06  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
PR c++/14033
* decl.c (require_complete_types_for_parms): Do not insert
error_mark_node in the parameter list.

From-SVN: r78265

21 years agobackport: re PR c++/13932 (duplicate warning message for conversion)
Gabriel Dos Reis [Sun, 22 Feb 2004 16:27:38 +0000 (16:27 +0000)] 
backport: re PR c++/13932 (duplicate warning message for conversion)

Backport from mainline
2004-02-04  Mark Mitchell  <mark@codesourcery.com>
PR c++/13932
* call.c (convert_like_real): Use "converting" rather than
"argument" as the descriptive keyword to
dubious_conversion_warnings.
* typeck.c (convert_for_assignment): Do not call
dubious_conversion_warnings.

From-SVN: r78264

21 years agobackport: re PR c++/13907 (valid conversion rejected unless -pedantic is set)
Gabriel Dos Reis [Sun, 22 Feb 2004 16:05:49 +0000 (16:05 +0000)] 
backport: re PR c++/13907 (valid conversion rejected unless -pedantic is set)

    Backport from mainline
    2004-02-02  Mark Mitchell  <mark@codesourcery.com>
    PR c++/13907
    * call.c (convert_class_to_reference): Keep better track of
    pedantically invalid user-defined conversions.

From-SVN: r78263

21 years agore PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)
Hans-Peter Nilsson [Sun, 22 Feb 2004 11:21:34 +0000 (11:21 +0000)] 
re PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)

PR target/14209
* config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
constraints to not match postincrement.  Adjust the predicate to
exclude a volatile memory reference.
("*andsi_clear"): Tweak constraints to not match postincrement.
Adjust the predicate to exclude a volatile memory reference.
("*andhi_clear"): Ditto.  Rename from "*andhi_clear_signed".
("*andhi_clear_unsigned"): Remove, non-matching pattern.

From-SVN: r78256

21 years agore PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)
Hans-Peter Nilsson [Sun, 22 Feb 2004 11:18:47 +0000 (11:18 +0000)] 
re PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)

PR target/14209
* gcc.c-torture/execute/20040218-1.c: New test.

From-SVN: r78255

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 22 Feb 2004 11:18:47 +0000 (11:18 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r78254

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

From-SVN: r78245

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

From-SVN: r78197

21 years agoDaily bump.
GCC Administrator [Fri, 20 Feb 2004 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r78136

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

From-SVN: r78063

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

From-SVN: r78002

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

From-SVN: r77936

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

From-SVN: r77863

21 years agoBump version
Gabriel Dos Reis [Sun, 15 Feb 2004 00:40:46 +0000 (00:40 +0000)] 
Bump version

From-SVN: r77839

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

[[Split portion of a mixed commit.]]

From-SVN: r77835.1

21 years agoUpdate version
Gabriel Dos Reis [Sat, 14 Feb 2004 20:20:59 +0000 (20:20 +0000)] 
Update version

From-SVN: r77825

21 years agoMark ChangeLog
Gabriel Dos Reis [Sat, 14 Feb 2004 20:20:54 +0000 (20:20 +0000)] 
Mark ChangeLog

From-SVN: r77824

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

From-SVN: r77781

21 years ago* ca.po: New file.
Gabriel Dos Reis [Fri, 13 Feb 2004 20:27:24 +0000 (20:27 +0000)] 
* ca.po: New file.

From-SVN: r77772

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 13 Feb 2004 20:27:24 +0000 (20:27 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r77771

21 years agoDaily bump.
GCC Administrator [Fri, 13 Feb 2004 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r77740

21 years agore PR target/14113 (-O2 corrupts stack)
Eric Botcazou [Thu, 12 Feb 2004 13:42:46 +0000 (14:42 +0100)] 
re PR target/14113 (-O2 corrupts stack)

PR target/14113
Backport from mainline:

2004-02-03  Eric Botcazou  <ebotcazou@libertysurf.fr>

* config/sparc/sparc.md (call followed by jump define_peephole's):
Delete.

From-SVN: r77706

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

From-SVN: r77682

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

From-SVN: r77626

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

From-SVN: r77572

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

From-SVN: r77513

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

From-SVN: r77468

21 years agoDaily bump.
GCC Administrator [Sat, 7 Feb 2004 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r77432

21 years ago[multiple changes]
H.J. Lu [Fri, 6 Feb 2004 19:43:33 +0000 (11:43 -0800)] 
[multiple changes]

2004-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* doc/invoke.texi: Mention SSE2 and SSE3.

* config/i386/i386.h: Deprecate -mpni/-mno-pni.

2004-02-06  Kelley Cook  <kcook@gcc.gnu.org>

* config/i386/i386.c: Rename pni to sse3.
* config/i386/i386.h: Likewise.
        * config/i386/i386.md: Likewise.
* config/i386/pmmintrin.h: Likewise.
* doc/extend.texi: Likewise.
* doc/invoke.texi: Likewise.

From-SVN: r77416

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

From-SVN: r77355

21 years agobasic_file_stdio.cc (__gnu_internal::fopen_mode): New function.
Benjamin Kosnik [Thu, 5 Feb 2004 20:24:48 +0000 (20:24 +0000)] 
basic_file_stdio.cc (__gnu_internal::fopen_mode): New function.

2004-02-04  Benjamin Kosnik  <bkoz@redhat.com>
    Zack Weinberg  <zack@codesourcery.com>

* config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
New function.
(__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
(__basic_file<char>::_M_open_mode): Use it.  Mark deprecated.

* testsuite/27_io/filebuf_members.cc (test_06, test_07):
Correct flags to filebuf::open calls.

From-SVN: r77340

21 years agore PR c++/13086 (the location of the warning message is wrong when calling delete...
Giovanni Bajo [Thu, 5 Feb 2004 13:24:06 +0000 (13:24 +0000)] 
re PR c++/13086 (the location of the warning message is wrong when calling delete on incomplete type)

PR c++/13086
* g++.dg/warn/incomplete1.C: Remove xfail.

From-SVN: r77311

21 years agore PR c++/13086 (the location of the warning message is wrong when calling delete...
Giovanni Bajo [Thu, 5 Feb 2004 13:22:09 +0000 (13:22 +0000)] 
re PR c++/13086 (the location of the warning message is wrong when calling delete on incomplete type)

PR c++/13086
* init.c (build_delete): Emit a more informative error message in
case of an incomplete type, and on the correct source line.

From-SVN: r77310

21 years agoDaily bump.
GCC Administrator [Thu, 5 Feb 2004 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r77281

21 years ago* de.po: Update.
Matthias Klose [Wed, 4 Feb 2004 07:26:36 +0000 (07:26 +0000)] 
* de.po: Update.

From-SVN: r77230