]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
16 years agoDaily bump.
GCC Administrator [Sat, 25 Jul 2009 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r150070

16 years agoDaily bump.
GCC Administrator [Fri, 24 Jul 2009 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r150033

16 years agore PR target/40832 (gfortran 4.4.0 generates invalid .s file on solaris-x86 using...
Uros Bizjak [Thu, 23 Jul 2009 10:23:43 +0000 (12:23 +0200)] 
re PR target/40832 (gfortran 4.4.0 generates invalid .s file on solaris-x86 using  -march=k8 for 130.socorro)

PR target/40832
* config/i386/i386.c (output_387_ffreep): Rewrite to return
ASM_SHORT instead of .word.
* config/i386/i386.md (*tls_global_dynamic_64): Use ASM_SHORT
instead of .word in asm template.

From-SVN: r149996

16 years agoDaily bump.
GCC Administrator [Thu, 23 Jul 2009 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149967

16 years agoDaily bump.
GCC Administrator [Wed, 22 Jul 2009 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149870

16 years agobackport: re PR middle-end/39943 (wrong conversion from unsigned int to float)
Uros Bizjak [Tue, 21 Jul 2009 09:57:46 +0000 (11:57 +0200)] 
backport: re PR middle-end/39943 (wrong conversion from unsigned int to float)

Backport from mainline:
2009-04-29  Richard Guenther  <rguenther@suse.de>

PR target/39943
* config/i386/i386.c (ix86_vectorize_builtin_conversion): Only
allow conversion to signed integers.

testsuite/ChangeLog:

PR target/40809
* gcc.target/i386/pr40809.c: New test.

Backport from mainline:
2009-04-29  Richard Guenther  <rguenther@suse.de>

PR target/39943
* lib/target-supports.exp (check_effective_target_vect_uintfloat_cvt):
New.
(check_effective_target_vect_floatuint_cvt): Likewise.
* gcc.dg/vect/slp-10.c: Adjust.
* gcc.dg/vect/slp-11.c: Adjust.
* gcc.dg/vect/slp-12b.c: Adjust.
* gcc.dg/vect/slp-33.c: Adjust.
* gcc.c-torture/compile/pr39943.c: New testcase.

From-SVN: r149851

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

From-SVN: r149840

16 years agoDaily bump.
GCC Administrator [Mon, 20 Jul 2009 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149798

16 years agoDaily bump.
GCC Administrator [Sun, 19 Jul 2009 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149783

16 years agore PR rtl-optimization/40710 (Linux kernel miscompiled for sh4-linux)
Eric Botcazou [Sat, 18 Jul 2009 06:47:22 +0000 (06:47 +0000)] 
re PR rtl-optimization/40710 (Linux kernel miscompiled for sh4-linux)

PR rtl-optimization/40710
* resource.c (mark_target_live_regs): Reset DF problem to LR.

From-SVN: r149764

16 years agoDaily bump.
GCC Administrator [Sat, 18 Jul 2009 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149760

16 years agoconfigure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to cflags.
Kai Tietz [Fri, 17 Jul 2009 11:16:31 +0000 (11:16 +0000)] 
configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to cflags.

2009-07-17  Kai Tietz  <kai.tietz@onevision.com>

        * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
        cflags.
        * configure: Regenerated.

From-SVN: r149743

16 years agoDaily bump.
GCC Administrator [Fri, 17 Jul 2009 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149728

16 years agoDaily bump.
GCC Administrator [Thu, 16 Jul 2009 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149698

16 years agosse-recip-vec.c: Move arrays out of test function to enable vectorization.
Uros Bizjak [Wed, 15 Jul 2009 07:01:54 +0000 (09:01 +0200)] 
sse-recip-vec.c: Move arrays out of test function to enable vectorization.

* gcc.target/i386/sse-recip-vec.c: Move arrays out of test
function to enable vectorization.
* gcc.target/i386/sse2-lrint-vec.c: Ditto.
* gcc.target/i386/sse2-lrintf-vec.c: Ditto.

From-SVN: r149659

16 years agoDaily bump.
GCC Administrator [Wed, 15 Jul 2009 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149651

16 years agobackport: [multiple changes]
Richard Guenther [Tue, 14 Jul 2009 09:32:55 +0000 (09:32 +0000)] 
backport: [multiple changes]

2009-07-14  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-02-05  Paolo Bonzini  <bonzini@gnu.org>

PR rtl-optimization/39110
* rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
addresses, not aligned ones.

2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
    Hans-Peter Nilsson  <hp@axis.com>

PR rtl-optimization/37889
* rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
Move offset handling from PLUS to before the switch.  Use new
arguments when considering SYMBOL_REFs too.
(rtx_addr_can_trap_p): Pass dummy offset and size.
(enum may_trap_p_flags): Remove.
(may_trap_p_1): Pass size from MEM_SIZE.

PR rtl-optimization/38921
* loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
* rtl.h (may_trap_after_code_motion_p): Delete prototype.
* rtlanal.c (may_trap_after_code_motion_p): Delete.
(may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.

From-SVN: r149620

16 years agoDaily bump.
GCC Administrator [Tue, 14 Jul 2009 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149609

16 years agoDaily bump.
GCC Administrator [Mon, 13 Jul 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149538

16 years agoDaily bump.
GCC Administrator [Sun, 12 Jul 2009 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149521

16 years agoDaily bump.
GCC Administrator [Sat, 11 Jul 2009 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149504

16 years agobackport: re PR c++/40566 (rejects promoted throw)
Richard Guenther [Fri, 10 Jul 2009 16:02:59 +0000 (16:02 +0000)] 
backport: re PR c++/40566 (rejects promoted throw)

2009-07-10  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-06-30  Jakub Jelinek  <jakub@redhat.com>

PR c++/40566
* convert.c (convert_to_integer) <case COND_EXPR>: Don't convert
to type arguments that have void type.

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

From-SVN: r149488

16 years agobackport: re PR middle-end/40291 (ICE on unprototyped memcmp with long long last...
Richard Guenther [Fri, 10 Jul 2009 16:01:34 +0000 (16:01 +0000)] 
backport: re PR middle-end/40291 (ICE on unprototyped memcmp with long long last argument)

2009-07-10  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-05-29  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/40291
* builtins.c (expand_builtin_memcmp): Convert len to sizetype
before expansion.

* gcc.c-torture/compile/pr40291.c: New test.

From-SVN: r149487

16 years agobackport: re PR middle-end/38934 (ICE in set_value_range, at tree-vrp.c:398)
Richard Guenther [Fri, 10 Jul 2009 16:00:13 +0000 (16:00 +0000)] 
backport: re PR middle-end/38934 (ICE in set_value_range, at tree-vrp.c:398)

2009-07-10  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-01-28  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/38934
* tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
set to varying whenever max has TREE_OVERFLOW set, similarly
for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.

* gcc.dg/pr38934.c: New test.

From-SVN: r149486

16 years agobackport: re PR c++/37877 (Invalid "invalid use of static" error)
Richard Guenther [Fri, 10 Jul 2009 15:56:52 +0000 (15:56 +0000)] 
backport: re PR c++/37877 (Invalid "invalid use of static" error)

2009-07-10  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-01-09  John F. Carr  <jfc@mit.edu>

PR c++/37877
* parser.c (cp_parser_class_specifier): Clear
parser->in_unbraced_linkage_specification_p while parsing class
specifiers.

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

From-SVN: r149485

16 years agobackport: re PR c++/36089 (Funny rejects valid with constant integral expression)
Richard Guenther [Fri, 10 Jul 2009 15:55:04 +0000 (15:55 +0000)] 
backport: re PR c++/36089 (Funny rejects valid with constant integral expression)

2009-07-10  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2008-11-17  Jakub Jelinek  <jakub@redhat.com>

PR c++/36089
* init.c (constant_value_1): Handle TREE_LIST init.

  PR c++/37561
PR c++/36089
* g++.dg/template/init8.C: New test.

From-SVN: r149484

16 years agoDaily bump.
GCC Administrator [Fri, 10 Jul 2009 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149450

16 years agoDaily bump.
GCC Administrator [Thu, 9 Jul 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149394

16 years agoDaily bump.
GCC Administrator [Wed, 8 Jul 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149355

16 years agore PR middle-end/40328 (internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn...
Richard Guenther [Tue, 7 Jul 2009 12:44:32 +0000 (12:44 +0000)] 
re PR middle-end/40328 (internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811)

2009-07-07  Richard Guenther  <rguenther@suse.de>

PR middle-end/40328
PR tree-optimization/40669
* tree-tailcall.c (adjust_accumulator_values): Properly
set DECL_GIMPLE_REG_P.
(adjust_return_value): Likewise.
(tree_optimize_tail_calls_1): Likewise.
* fold-const.c (fold_convert): Fold the built COMPLEX_EXPR.

* gcc.dg/pr40669.c: New testcase.
* gcc.dg/torture/pr40328.c: Likewise.

From-SVN: r149321

16 years agoDaily bump.
GCC Administrator [Tue, 7 Jul 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149305

16 years agoDaily bump.
GCC Administrator [Mon, 6 Jul 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149266

16 years agoDaily bump.
GCC Administrator [Sun, 5 Jul 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149244

16 years agore PR fortran/40638 (RTE: "Unit number in I/O statement too large" -- fails with...
Jerry DeLisle [Sat, 4 Jul 2009 04:20:24 +0000 (04:20 +0000)] 
re PR fortran/40638 (RTE: "Unit number in I/O statement too large" -- fails with any low value)

2009-07-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/40638
* gfortran.dg/unit_1.f90: New test.

From-SVN: r149221

16 years agore PR fortran/40638 (RTE: "Unit number in I/O statement too large" -- fails with...
Jerry DeLisle [Sat, 4 Jul 2009 04:16:59 +0000 (04:16 +0000)] 
re PR fortran/40638 (RTE: "Unit number in I/O statement too large" -- fails with any low value)

2009-07-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/40638
* trans-io.c (set_parameter_value): Don't build un-necessary run-time
checks for units of KIND less than 4.

From-SVN: r149220

16 years agoDaily bump.
GCC Administrator [Sat, 4 Jul 2009 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149214

16 years agoDaily bump.
GCC Administrator [Fri, 3 Jul 2009 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149202

16 years agore PR tree-optimization/40585 (tracer duplicates blocks w/o adjusting EH tree)
Richard Guenther [Thu, 2 Jul 2009 12:15:27 +0000 (12:15 +0000)] 
re PR tree-optimization/40585 (tracer duplicates blocks w/o adjusting EH tree)

2009-07-02  Richard Guenther  <rguenther@suse.de>

        PR middle-end/40585
* tree-cfg.c (tree_can_duplicate_bb_p): Disallow duplicating
basic blocks with RESX_EXPR.

From-SVN: r149172

16 years agoDaily bump.
GCC Administrator [Thu, 2 Jul 2009 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149160

16 years agobackport: rs6000.c (rs6000_emit_sync): Use gen_lwsync().
Ben Elliston [Wed, 1 Jul 2009 00:24:49 +0000 (00:24 +0000)] 
backport: rs6000.c (rs6000_emit_sync): Use gen_lwsync().

Backport from mainline:

2008-10-04  Anton Blanchard  <anton@samba.org>

* config/rs6000/rs6000.c (rs6000_emit_sync): Use gen_lwsync().
(rs6000_split_atomic_op): Same.
(rs6000_split_compare_and_swap): Same.
(rs6000_split_compare_and_swapqhi): Same.

From-SVN: r149127

16 years agoDaily bump.
GCC Administrator [Wed, 1 Jul 2009 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149124

16 years agore PR tree-optimization/40542 (vectorizes access to volatile array)
Ira Rosen [Tue, 30 Jun 2009 11:48:51 +0000 (11:48 +0000)] 
re PR tree-optimization/40542 (vectorizes access to volatile array)

PR tree-optimization/40542
* tree-vect-analyze.c (vect_determine_vectorization_factor): Don't
vectorize volatile types.

From-SVN: r149091

16 years agoDaily bump.
GCC Administrator [Tue, 30 Jun 2009 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149071

16 years agore PR tree-optimization/40579 (gcc -O2 optimization causes infinite loop and wrong...
Richard Guenther [Mon, 29 Jun 2009 14:52:20 +0000 (14:52 +0000)] 
re PR tree-optimization/40579 (gcc -O2 optimization causes infinite loop and wrong output)

2009-06-29  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40579
* tree-vrp.c (vrp_evaluate_conditional_warnv): Bail out early if
the IL to simplify has constants that overflowed.

* gcc.c-torture/execute/pr40579.c: New testcase.

From-SVN: r149052

16 years agoDaily bump.
GCC Administrator [Mon, 29 Jun 2009 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149041

16 years agore PR tree-optimization/40550 (Segmentation fault caused by alignment error in sse...
Uros Bizjak [Sun, 28 Jun 2009 23:12:37 +0000 (01:12 +0200)] 
re PR tree-optimization/40550 (Segmentation fault caused by alignment error in sse code)

PR tree-optimization/40550
* tree-vect-generic.c (expand_vector_operations_1): Compute in
vector_compute_type only when the size of vector_compute_type is
less than the size of type.

testsuite/ChangeLog:

PR tree-optimization/40550
* gcc.dg/pr40550.c: New test.

From-SVN: r149040

16 years agoDaily bump.
GCC Administrator [Sun, 28 Jun 2009 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r149020

16 years ago[multiple changes]
Kai Tietz [Sat, 27 Jun 2009 17:50:20 +0000 (17:50 +0000)] 
[multiple changes]

2009-06-27  Kai Tietz  <kai.tietz@onevision.com>

Merged from trunk rev/148061
2009-06-01  Jakub Jelinek  <jakub@redhat.com>
PR other/40024
* emutls.c (__emutls_get_address): Change arr->size to mean number
of allocated arr->data entries instead of # of slots + 1.

From-SVN: r149015

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

From-SVN: r148997

16 years agoDaily bump.
GCC Administrator [Fri, 26 Jun 2009 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148956

16 years agoc-parser.c (c_parser_postfix_expression): Fix merge glitch.
Richard Guenther [Thu, 25 Jun 2009 14:36:43 +0000 (14:36 +0000)] 
c-parser.c (c_parser_postfix_expression): Fix merge glitch.

2009-06-25  Richard Guenther  <rguenther@suse.de>

        * c-parser.c (c_parser_postfix_expression): Fix merge
        glitch.

From-SVN: r148945

16 years agobackport: [multiple changes]
Richard Guenther [Thu, 25 Jun 2009 12:40:30 +0000 (12:40 +0000)] 
backport: [multiple changes]

2009-06-25  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2008-12-19  Jakub Jelinek  <jakub@redhat.com>

PR libgcj/38396
* configure.ac (use_libgcj_bc): Set to no if not enable_shared.
(LIBGCJ_SPEC): Use -lgcj instead of -lgcj_bc even for -static
or -static-libgcj.
* Makefile.am (ecjx_SOURCES): Add ecjx.cc.
(ecjx_LDADD): Don't add libgcj.la when
NATIVE && USE_LIBBGCJ_BC.
* ecjx.cc: New file.
* Makefile.in: Regenerated.
* configure: Regenerated.

2009-01-11  Matthias Klose  <doko@ubuntu.com>

* Makefile.am (ecjx_LDADD): Add $(extra_ldflags).
* Makefile.in: Regenerate.

From-SVN: r148944

16 years agobackport: re PR middle-end/38751 (odd performance regression with -Os)
Richard Guenther [Thu, 25 Jun 2009 12:39:01 +0000 (12:39 +0000)] 
backport: re PR middle-end/38751 (odd performance regression with -Os)

2009-06-25  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-01-07  Richard Guenther  <rguenther@suse.de>

PR middle-end/38751
* fold-const.c (extract_muldiv): Remove obsolete comment.
(fold_plusminus_mult_expr): Undo MINUS_EXPR
to PLUS_EXPR canonicalization for the canonicalization.

From-SVN: r148943

16 years agobackport: [multiple changes]
Richard Guenther [Thu, 25 Jun 2009 09:44:12 +0000 (09:44 +0000)] 
backport: [multiple changes]

2009-06-25  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-01-12  Jakub Jelinek  <jakub@redhat.com>

PR c/32041
* c-parser.c (c_parser_postfix_expression): Allow `->' in
offsetof member-designator, handle it as `[0].'.

cp/
* parser.c (cp_parser_builtin_offsetof): Allow `->' in
offsetof member-designator, handle it as `[0].'.

* gcc.dg/pr32041.c: New test.
* g++.dg/parse/offsetof9.C: New test.

2008-09-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
Kaushal Kantawala  <kaushal_kantawala@playstation.sony.com>

PR tree-optimization/36891
* tree-ssa-loop-im.c (rewrite_reciprocal): Set DECL_GIMPLE_REG_P on
the newly created variable.
Create a VECTOR_CST of all 1s for vector types.

* gcc.dg/torture/pr36891.c: New testcase.

From-SVN: r148939

16 years agoDaily bump.
GCC Administrator [Thu, 25 Jun 2009 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148923

16 years agoDaily bump.
GCC Administrator [Wed, 24 Jun 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148886

16 years agoDaily bump.
GCC Administrator [Tue, 23 Jun 2009 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148822

16 years agore PR objc++/28050 (ICE on invalid initializer)
Matthias Klose [Mon, 22 Jun 2009 22:21:17 +0000 (22:21 +0000)] 
re PR objc++/28050 (ICE on invalid initializer)

gcc/
2009-06-22  Steven Bosscher  <steven@gcc.gnu.org>
            Matthias Klose  <doko@ubuntu.com>

        PR objc/28050
        * c-parser.c (c_parser_objc_message_args): Return error_mark_node
        instead of NULL if a parser error occurs.

gcc/objc/
2009-06-22  Steven Bosscher  <steven@gcc.gnu.org>
            Matthias Klose  <doko@ubuntu.com>

        PR objc/28050
        * objc-act.c (objc_build_message_args): Return if ARGS is the
        error_mark_node.

gcc/testsuite/
2009-06-22  Matthias Klose  <doko@ubuntu.com>

        PR objc/28050
        * pr28050.m: New testcase.

From-SVN: r148819

16 years agoDaily bump.
GCC Administrator [Mon, 22 Jun 2009 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148772

16 years agoDaily bump.
GCC Administrator [Sun, 21 Jun 2009 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148753

16 years agoDaily bump.
GCC Administrator [Sat, 20 Jun 2009 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148735

16 years agobackport: [multiple changes]
Richard Guenther [Fri, 19 Jun 2009 21:44:24 +0000 (21:44 +0000)] 
backport: [multiple changes]

2009-06-19  Richard Guenther  <rguenther@suse.de>

Backport from mainline:
2009-02-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

PR C++/36607
* convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.

* g++.dg/expr/cast10.C: New test.

2009-02-03  Jakub Jelinek  <jakub@redhat.com>

PR target/35318
* function.c (match_asm_constraints_1): Skip over
initial optional % in the constraint.

* gcc.c-torture/compile/pr35318.c: New test.

2009-05-20  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/40204
* fold-const.c (fold_binary) <case BIT_AND_EXPR>: Avoid infinite
recursion if build_int_cst_type returns the same INTEGER_CST as
arg1.

* gcc.c-torture/compile/pr40204.c: New test.

From-SVN: r148730

16 years agobackport: re PR target/39240 (Invalid sibcall optimization with promoted return types...
Richard Guenther [Fri, 19 Jun 2009 16:13:53 +0000 (16:13 +0000)] 
backport: re PR target/39240 (Invalid sibcall optimization with promoted return types and differing signedness)

2009-06-19  Richard Guenther  <rguenther@suse.de>

Backport from mainline:
2009-02-20  Jakub Jelinek  <jakub@redhat.com>

PR target/39240
* calls.c (expand_call): Clear try_tail_call if caller and callee
disagree in promotion of function return value.

* gcc.c-torture/execute/pr39240.c: New test.

From-SVN: r148717

16 years agobackport: [multiple changes]
Richard Guenther [Fri, 19 Jun 2009 12:23:16 +0000 (12:23 +0000)] 
backport: [multiple changes]

2009-06-19  Richard Guenther  <rguenther@suse.de>

Backport from mainline:
2009-04-22  Jakub Jelinek  <jakub@redhat.com>

PR c/39855
* fold-const.c (fold_binary) <case LSHIFT_EXPR>: When optimizing
into 0, use omit_one_operand.

* gcc.dg/torture/pr39855.c: New test.

2009-01-30  Jakub Jelinek  <jakub@redhat.com>

PR target/39013
* c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
inline but never defined.

* gcc.target/i386/pr39013-1.c: New test.
* gcc.target/i386/pr39013-2.c: New test.

From-SVN: r148700

16 years agoDaily bump.
GCC Administrator [Fri, 19 Jun 2009 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148686

16 years agobackport: re PR target/40470 (unable to find a register to spill in class ‘SSE_FIRST_...
H.J. Lu [Thu, 18 Jun 2009 21:23:29 +0000 (21:23 +0000)] 
backport: re PR target/40470 (unable to find a register to spill in class ‘SSE_FIRST_REG’)

gcc/

2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

PR target/40470
* config/i386/i386.h (CLASS_LIKELY_SPILLED_P): Add SSE_FIRST_REG.

gcc/testsuite/

2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

PR target/40470
* gcc.dg/torture/pr40470-1.c: New.
* gcc.dg/torture/pr40470-2.c: Likewise.
* gcc.dg/torture/pr40470-3.c: Likewise.
* gcc.dg/torture/pr40470-4.c: Likewise.

From-SVN: r148676

16 years agore PR bootstrap/40061 (Bootstrap failure in dwarf2out.c, function add_subscript_info...
Tobias Burnus [Thu, 18 Jun 2009 20:06:04 +0000 (22:06 +0200)] 
re PR bootstrap/40061 (Bootstrap failure in dwarf2out.c, function add_subscript_info: 'dimension_number' undefined)

2009-06-18  Tobias Burnus  <burnus@net-b.de>
            Mikael Pettersson  <mikpe@it.uu.se>

        PR debug/40061
        * dwarf2out.c (add_subscript_info): Fix build for
        MIPS_DEBUGGING_INFO.

Co-Authored-By: Mikael Pettersson <mikpe@it.uu.se>
From-SVN: r148668

16 years agoDaily bump.
GCC Administrator [Thu, 18 Jun 2009 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148638

16 years agobackport: [multiple changes]
Richard Guenther [Wed, 17 Jun 2009 19:45:52 +0000 (19:45 +0000)] 
backport: [multiple changes]

2009-06-17  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-03-16  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/39455
* tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Fix types
mismatches for POINTER_TYPE_P (type).
(number_of_iterations_le): Likewise.

* gcc.dg/pr39455.c: New test.

2009-05-19  Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/40087
* tree-ssa-loop-niter.c (number_of_iterations_ne_max,
number_of_iterations_ne): Rename never_infinite argument.
(number_of_iterations_lt_to_ne, number_of_iterations_lt,
number_of_iterations_le): Handle pointer-type ivs when
exit_must_be_taken is false.
(number_of_iterations_cond):  Do not always assume that
exit_must_be_taken if the control variable is a pointer.

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

From-SVN: r148625

16 years agore PR middle-end/40404 (Comparison involving unsigned int:17 bitfield seems wrong)
Richard Guenther [Wed, 17 Jun 2009 13:06:21 +0000 (13:06 +0000)] 
re PR middle-end/40404 (Comparison involving unsigned int:17 bitfield seems wrong)

2009-06-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/40404
* fold-const.c (fold_binary): Verify the type precision of the
stripped arguments of the comparison are the same before
folding the comparison.

* gcc.c-torture/execute/pr40404.c: New testcase.

From-SVN: r148610

16 years agore PR c++/40389 (optimizer bug (possibly))
Richard Guenther [Wed, 17 Jun 2009 12:03:08 +0000 (12:03 +0000)] 
re PR c++/40389 (optimizer bug (possibly))

2009-06-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/40389
* tree-ssa-operands.c (get_modify_stmt_operands): Add NRV
results to the addresses taken bitmap.
* tree-scalar-evolution.c (scev_const_prop): Do not insert
incomplete stmts into the instruction stream.

* g++.dg/torture/pr40389.C: New testcase.

From-SVN: r148604

16 years agore PR middle-end/40460 (Enormous memory usage during compilation with -O2 or -O3...
Richard Guenther [Wed, 17 Jun 2009 12:00:40 +0000 (12:00 +0000)] 
re PR middle-end/40460 (Enormous memory usage during compilation with -O2 or -O3 optimizations.)

2009-06-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/40460
* tree-chrec.h (build_polynomial_chrec): If we cannot determine
if there is no evolution of left in the loop bail out.
* tree-chrec.c (chrec_fold_multiply_poly_poly): CSE one
chrec_fold_multiply.

* g++.dg/torture/pr40460.C: New testcase.

From-SVN: r148603

16 years agoDaily bump.
GCC Administrator [Wed, 17 Jun 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148563

16 years agoDaily bump.
GCC Administrator [Tue, 16 Jun 2009 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148508

16 years agoDaily bump.
GCC Administrator [Mon, 15 Jun 2009 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148478

16 years agoDaily bump.
GCC Administrator [Sun, 14 Jun 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148464

16 years agoDaily bump.
GCC Administrator [Sat, 13 Jun 2009 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148446

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

From-SVN: r148405

16 years agobackport: re PR target/38222 (gcc.target/i386/sse4_2-popcntl.c fails on i686-apple...
Uros Bizjak [Thu, 11 Jun 2009 20:59:16 +0000 (22:59 +0200)] 
backport: re PR target/38222 (gcc.target/i386/sse4_2-popcntl.c fails on i686-apple-darwin9)

Backport from mainline:
2008-11-22  Uros Bizjak  <ubizjak@gmail.com>

PR target/38222
* config/i386/i386.md (SWI248): New mode iterator.
(popcount<mode>2): Rename from popcounthi2, popcountsi2 and
popcounthi2 insn patterns. Macroize pattern using SWI248 mode
iterator.  Generate popcnt mnemonic without mode extensions
for Darwin x86 targets.
(*popcount<mode>2_cmp): Ditto.
(*popcountsi2_cmp_zext): Generate popcnt mnemonic without mode
extensions for Darwin x86 targets.

From-SVN: r148397

16 years agoDaily bump.
GCC Administrator [Thu, 11 Jun 2009 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148359

16 years agoDaily bump.
GCC Administrator [Wed, 10 Jun 2009 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148330

16 years agoDaily bump.
GCC Administrator [Tue, 9 Jun 2009 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148300

16 years agore PR c++/40373 (ICE with invalid destructor call)
Jakub Jelinek [Mon, 8 Jun 2009 17:02:17 +0000 (19:02 +0200)] 
re PR c++/40373 (ICE with invalid destructor call)

PR c++/40373
* call.c (check_dtor_name): Return false even if
get_type_value (name) is error_mark_node.

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

From-SVN: r148284

16 years agoDaily bump.
GCC Administrator [Mon, 8 Jun 2009 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148267

16 years agobackport: re PR middle-end/32950 (ICE with __complex__ double)
H.J. Lu [Sun, 7 Jun 2009 13:39:54 +0000 (13:39 +0000)] 
backport: re PR middle-end/32950 (ICE with __complex__ double)

2009-06-07  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-06-07  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/32950
* g++.dg/torture/pr32950.C: New.

From-SVN: r148246

16 years agoDaily bump.
GCC Administrator [Sun, 7 Jun 2009 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148239

16 years agoDaily bump.
GCC Administrator [Sat, 6 Jun 2009 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148231

16 years agoDaily bump.
GCC Administrator [Fri, 5 Jun 2009 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148194

16 years agobackport: re PR c++/39371 (Incorrectly rejects switch((unsigned int)boolvar))
Richard Guenther [Thu, 4 Jun 2009 12:35:25 +0000 (12:35 +0000)] 
backport: re PR c++/39371 (Incorrectly rejects switch((unsigned int)boolvar))

2009-06-04  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2009-03-09  Jakub Jelinek  <jakub@redhat.com>

PR c++/39371
* semantics.c (finish_switch_cond): Don't call get_unwidened.
* decl.c (finish_case_label): Pass SWITCH_STMT_TYPE as 3rd argument
instead of TREE_TYPE (cond).

* g++.dg/opt/switch2.C: Add -w to dg-options.
* g++.dg/warn/Wswitch-1.C: Adjust expected warnings.
* g++.dg/warn/switch1.C: New test.
* g++.dg/other/switch3.C: New test.
* g++.dg/torture/pr40335.C: New testcase.

From-SVN: r148165

16 years agoDaily bump.
GCC Administrator [Thu, 4 Jun 2009 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148157

16 years agoDaily bump.
GCC Administrator [Wed, 3 Jun 2009 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148107

16 years agoDaily bump.
GCC Administrator [Mon, 1 Jun 2009 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148023

16 years agoDaily bump.
GCC Administrator [Sun, 31 May 2009 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r148007

16 years agoDaily bump.
GCC Administrator [Sat, 30 May 2009 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r147992

16 years agoDaily bump.
GCC Administrator [Fri, 29 May 2009 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r147963

16 years agoDaily bump.
GCC Administrator [Thu, 28 May 2009 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r147935

16 years agoDaily bump.
GCC Administrator [Wed, 27 May 2009 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r147884

16 years agobackport: re PR tree-optimization/32044 (final value replacement too aggressive for...
Richard Guenther [Tue, 26 May 2009 10:17:19 +0000 (10:17 +0000)] 
backport: re PR tree-optimization/32044 (final value replacement too aggressive for e.g. targets with no native div/mod insns)

2009-05-26  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2008-12-12  Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/32044
* tree-scalar-evolution.h (expression_expensive_p): Declare.
* tree-scalar-evolution.c (expression_expensive_p): New function.
(scev_const_prop): Avoid introducing expensive expressions.
* tree-ssa-loop-ivopts.c (may_eliminate_iv): Ditto.

* gcc.dg/pr34027-1.c: Change outcome.
* gcc.dg/tree-ssa/pr32044.c: New test.

From-SVN: r147865

16 years agoDaily bump.
GCC Administrator [Tue, 26 May 2009 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r147857

16 years agoDaily bump.
GCC Administrator [Mon, 25 May 2009 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r147838