]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
14 years agobackport: re PR middle-end/48973 (Inliner bug with one-bit (1-bit) bitfield)
Jakub Jelinek [Tue, 19 Jul 2011 12:46:39 +0000 (14:46 +0200)] 
backport: re PR middle-end/48973 (Inliner bug with one-bit (1-bit) bitfield)

Backport from mainline
2011-05-23  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/48973
* expr.c (expand_expr_real_2) <case LT_EXPR>: If do_store_flag
failed and the comparison has a single bit signed type, use
constm1_rtx instead of const1_rtx for true value.
(do_store_flag): If ops->type is single bit signed type, disable
signel bit test optimization and pass -1 instead of 1 as last
parameter to emit_store_flag_force.

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

From-SVN: r176449

14 years agobackport: re PR c++/49039 (LLVM StringRef miscompilation with -O2)
Jakub Jelinek [Tue, 19 Jul 2011 12:44:46 +0000 (14:44 +0200)] 
backport: re PR c++/49039 (LLVM StringRef miscompilation with -O2)

Backport from mainline
2011-05-18  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/49039
* tree-vrp.c (extract_range_from_binary_expr): For
MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]>
return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>].

* gcc.c-torture/execute/pr49039.c: New test.
* gcc.dg/tree-ssa/pr49039.c: New test.
* g++.dg/torture/pr49039.C: New test.

From-SVN: r176448

14 years agoDaily bump.
GCC Administrator [Tue, 19 Jul 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176428

14 years agore PR boehm-gc/49381 (Unresolved symbols in libgcjgc.a when linking gctest)
Rainer Orth [Mon, 18 Jul 2011 14:30:14 +0000 (14:30 +0000)] 
re PR boehm-gc/49381 (Unresolved symbols in libgcjgc.a when linking gctest)

PR boehm-gc/49381
Backport from mainline:
2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
* configure: Regenerate.

From-SVN: r176401

14 years agoDaily bump.
GCC Administrator [Mon, 18 Jul 2011 00:17:29 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176382

14 years agore PR target/49746 (Generated PA-RISC2.0w code cannot be assembled by GNU as-2.21.1)
John David Anglin [Sun, 17 Jul 2011 21:32:56 +0000 (21:32 +0000)] 
re PR target/49746 (Generated PA-RISC2.0w code cannot be assembled by GNU as-2.21.1)

PR target/49746
Revert:
2010-12-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
patterns.

From-SVN: r176379

14 years agoDaily bump.
GCC Administrator [Sun, 17 Jul 2011 00:17:16 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176362

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

From-SVN: r176345

14 years agore PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine...
John David Anglin [Fri, 15 Jul 2011 18:15:16 +0000 (18:15 +0000)] 
re PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine.c:707 at -O1 and above)

PR target/49723
* config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT.

From-SVN: r176321

14 years agore PR testsuite/49643 (FAIL: g++.dg/rtti/anon-ns1.C scan-assembler "*N[^"]+1AE")
Jason Merrill [Fri, 15 Jul 2011 13:40:09 +0000 (09:40 -0400)] 
re PR testsuite/49643 (FAIL: g++.dg/rtti/anon-ns1.C scan-assembler "*N[^"]+1AE")

PR testsuite/49643
* g++.dg/rtti/anon-ns1.C: Allow for null-termination.

From-SVN: r176316

14 years agore PR ada/46350 (s-taprop.adb:891:40: warning: redundant conversion, expression is...
John David Anglin [Fri, 15 Jul 2011 02:37:23 +0000 (02:37 +0000)] 
re PR ada/46350 (s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID")

PR ada/46350
* s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast.

From-SVN: r176304

14 years agoDaily bump.
GCC Administrator [Fri, 15 Jul 2011 00:17:36 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176299

14 years agoDaily bump.
GCC Administrator [Thu, 14 Jul 2011 00:17:24 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176257

14 years agoDaily bump.
GCC Administrator [Wed, 13 Jul 2011 00:17:34 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176220

14 years agobackport: re PR rtl-optimization/49014 (ICE: in reset_sched_cycles_in_current_ebb...
Andrey Belevantsev [Tue, 12 Jul 2011 12:12:36 +0000 (16:12 +0400)] 
backport: re PR rtl-optimization/49014 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7132 with even more insane set of flags)

        Backport from mainline
        2011-05-25  Andrey Belevantsev  <abel@ispras.ru>

        PR rtl-optimization/49014
        * config/i386/athlon.md (athlon_ssecomi): Change type to ssecomi.

From-SVN: r176197

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

From-SVN: r176190

14 years agoDaily bump.
GCC Administrator [Mon, 11 Jul 2011 00:17:55 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176131

14 years agoDaily bump.
GCC Administrator [Sun, 10 Jul 2011 00:17:15 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176113

14 years agoDaily bump.
GCC Administrator [Sat, 9 Jul 2011 00:17:09 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176068

14 years agoDaily bump.
GCC Administrator [Fri, 8 Jul 2011 00:17:05 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176023

14 years agore PR target/49660 (64-bit gcc doesn't enable -mv8plus with -m32 on Solaris/SPARC)
Eric Botcazou [Thu, 7 Jul 2011 20:43:43 +0000 (20:43 +0000)] 
re PR target/49660 (64-bit gcc doesn't enable -mv8plus with -m32 on Solaris/SPARC)

PR target/49660
* config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Add
MASK_V8PLUS, remove commented out flag and reorder.

Backport from mainline
2011-06-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* config/sparc/sol2-64.h (TARGET_DEFAULT): Remove.
(TARGET_64BIT_DEFAULT): Define.
* config.gcc (sparc*-*-solaris2*): Move sparc/sol2-64.h to front
of tm_file.
* config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Define.

From-SVN: r176010

14 years agoDaily bump.
GCC Administrator [Thu, 7 Jul 2011 00:17:23 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175951

14 years agoDaily bump.
GCC Administrator [Wed, 6 Jul 2011 00:17:51 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175898

14 years agorun_acats (which): Extract last field from type -p, type output only if command succe...
Rainer Orth [Tue, 5 Jul 2011 10:24:59 +0000 (10:24 +0000)] 
run_acats (which): Extract last field from type -p, type output only if command succeeded.

* ada/acats/run_acats (which): Extract last field from type -p,
type output only if command succeeded.

From-SVN: r175845

14 years agoDaily bump.
GCC Administrator [Tue, 5 Jul 2011 00:17:18 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175838

14 years agobackport: re PR tree-optimization/48822 (G++ gets stucks and never finishes compilati...
Richard Guenther [Mon, 4 Jul 2011 14:24:10 +0000 (14:24 +0000)] 
backport: re PR tree-optimization/48822 (G++ gets stucks and never finishes compilation when enabling -O2/3 optimization options.)

2011-07-04  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2011-05-02  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48822
* tree-ssa-sccvn.c (set_ssa_val_to): Never go up the lattice.

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

From-SVN: r175813

14 years agobackport: re PR tree-optimization/49115 (invalid return value optimization (?) when...
Richard Guenther [Mon, 4 Jul 2011 13:25:21 +0000 (13:25 +0000)] 
backport: re PR tree-optimization/49115 (invalid return value optimization (?) when exception is thrown and caught)

2011-07-04  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2011-05-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49115
* tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise.

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

From-SVN: r175812

14 years agore PR tree-optimization/49615 (internal compiler error: verify_stmts failed / LHS...
Richard Guenther [Mon, 4 Jul 2011 12:18:22 +0000 (12:18 +0000)] 
re PR tree-optimization/49615 (internal compiler error: verify_stmts failed / LHS in noreturn call with pointer-to-never-returning-member)

2011-07-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49615
* tree-cfgcleanup.c (split_bbs_on_noreturn_calls): Fix
basic-block index check.

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

From-SVN: r175805

14 years agoDaily bump.
GCC Administrator [Mon, 4 Jul 2011 00:18:10 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r175791

14 years agoDaily bump.
GCC Administrator [Sun, 3 Jul 2011 00:17:15 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175783

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

From-SVN: r175773

14 years agoDaily bump.
GCC Administrator [Fri, 1 Jul 2011 00:17:03 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175740

14 years agore PR tree-optimization/49572 (gcc.dg/tree-ssa/20030709-2.c scan-tree-dump-times...
Eric Botcazou [Thu, 30 Jun 2011 19:37:41 +0000 (19:37 +0000)] 
re PR tree-optimization/49572 (gcc.dg/tree-ssa/20030709-2.c scan-tree-dump-times cddce2 ".rtmem" 0)

PR tree-optimization/49572
* tree-ssa-dom.c (initialize_hash_element) <GIMPLE_SINGLE_RHS>: Use the
type of the RHS instead of that of the LHS for the expression type.

From-SVN: r175723

14 years agobackport: re PR other/42333 (complex division failure on darwin10 with -lm)
Jack Howarth [Thu, 30 Jun 2011 16:31:23 +0000 (16:31 +0000)] 
backport: re PR other/42333 (complex division failure on darwin10 with -lm)

2011-06-30  Jack Howarth  <howarth@bromo.med.uc.edu>

        Backport from mainline
        2011-02-07 Mike Stump  <mikestump@comcast.net>

        PR target/42333
        Add __ieee_divdc3 entry point.
        * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3
        entry point.
        (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins.
        * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise.
        * config/darwin.c (darwin_rename_builtins): Add.
        * config/darwin-protos.h (darwin_rename_builtins): Add.

From-SVN: r175711

14 years agore PR target/49461 (boehm-gc and gcj incompatible with pie)
Jack Howarth [Thu, 30 Jun 2011 16:14:30 +0000 (16:14 +0000)] 
re PR target/49461 (boehm-gc and gcj incompatible with pie)

2011-06-30  Jack Howarth <howarth@bromo.med.uc.edu>

    PR target/49461
    * libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
    * libjava/configure: Regenerate.

From-SVN: r175710

14 years agore PR ada/49511 (acats test setup fails on HP-UX using posix shell)
Rainer Orth [Thu, 30 Jun 2011 10:06:44 +0000 (10:06 +0000)] 
re PR ada/49511 (acats test setup fails on HP-UX using posix shell)

PR ada/49511
* ada/acats/run_acats (which): Use last field of type -p output.

From-SVN: r175692

14 years agore PR tree-optimization/38752 (ICE in set_uids_in_ptset, at tree-ssa-structalias...
Richard Guenther [Thu, 30 Jun 2011 08:51:23 +0000 (08:51 +0000)] 
re PR tree-optimization/38752 (ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4817)

2011-06-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38752
* gcc.c-torture/compile/pr38752.c: New testcase.

From-SVN: r175686

14 years agoDaily bump.
GCC Administrator [Thu, 30 Jun 2011 00:17:21 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175676

14 years agoDaily bump.
GCC Administrator [Wed, 29 Jun 2011 00:17:55 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175614

14 years ago* tree-ssa-dom.c (initialize_hash_element): Fix oversight.
Eric Botcazou [Tue, 28 Jun 2011 21:56:48 +0000 (21:56 +0000)] 
* tree-ssa-dom.c (initialize_hash_element): Fix oversight.

From-SVN: r175602

14 years agoDaily bump.
GCC Administrator [Tue, 28 Jun 2011 00:17:47 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175570

14 years agore PR regression/47836 (Some Cross Compiler can't build target-libiberty or target...
Hans-Peter Nilsson [Mon, 27 Jun 2011 21:02:53 +0000 (21:02 +0000)] 
re PR regression/47836 (Some Cross Compiler can't build target-libiberty or target-zlib)

PR regression/47836
PR bootstrap/23656
PR other/47733
PR bootstrap/49247
PR c/48825
* configure.ac (target_libraries): Remove target-libiberty.
Remove all target-specific settings adding target-libiberty to
skipdirs and noconfigdirs.  Remove checking target_configdirs
and removing target-libiberty but keeping target-libgcc if
otherwise empty.
* Makefile.def (target_modules): Don't add libiberty.
(dependencies): Remove all traces of target-libiberty.
* configure, Makefile.in: Regenerate.

From-SVN: r175564

14 years agore PR c++/49440 (Invalid dynamic_cast for unnamed namespace)
Jason Merrill [Mon, 27 Jun 2011 01:13:33 +0000 (21:13 -0400)] 
re PR c++/49440 (Invalid dynamic_cast for unnamed namespace)

PR c++/49440
* class.c (set_linkage_according_to_type): Hand off to
determine_visibility.

From-SVN: r175418

14 years agoDaily bump.
GCC Administrator [Mon, 27 Jun 2011 00:18:27 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r175414

14 years agoDaily bump.
GCC Administrator [Sun, 26 Jun 2011 00:17:33 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175402

14 years agoDaily bump.
GCC Administrator [Sat, 25 Jun 2011 00:17:37 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175392

14 years agoDaily bump.
GCC Administrator [Fri, 24 Jun 2011 00:18:28 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r175360

14 years agoDaily bump.
GCC Administrator [Thu, 23 Jun 2011 00:17:56 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175325

14 years agoDaily bump.
GCC Administrator [Wed, 22 Jun 2011 00:17:37 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175281

14 years agoDaily bump.
GCC Administrator [Tue, 21 Jun 2011 00:17:53 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175233

14 years agoDaily bump.
GCC Administrator [Mon, 20 Jun 2011 00:17:50 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175197

14 years agore PR target/49461 (boehm-gc and gcj incompatible with pie)
Mike Stump [Sun, 19 Jun 2011 17:51:02 +0000 (17:51 +0000)] 
re PR target/49461 (boehm-gc and gcj incompatible with pie)

2011-06-19  Jack Howarth <howarth@bromo.med.uc.edu>

PR target/49461
* configure.ac: Use mh-x86-darwin.
* configure: Regenerate.
config:
2011-06-19  Jack Howarth <howarth@bromo.med.uc.edu>

PR target/49461
* mh-x86-darwin: Add file and pass -no_pie on BOOT_LDFLAGS for
darwin11.

From-SVN: r175191

14 years agore PR target/49461 (boehm-gc and gcj incompatible with pie)
Jack Howarth [Sun, 19 Jun 2011 17:39:19 +0000 (17:39 +0000)] 
re PR target/49461 (boehm-gc and gcj incompatible with pie)

2011-06-18  Jack Howarth <howarth@bromo.med.uc.edu>

    PR target/49461
    * configure.ac: Use mh-x86-darwin.
    * configure: Regenerate.
    * config/mh-x86-darwin: Add file and pass -no_pie on BOOT_LDFLAGS
    for darwin11.

From-SVN: r175189

14 years agoDaily bump.
GCC Administrator [Sun, 19 Jun 2011 00:17:23 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175186

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

From-SVN: r175161

14 years agore PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may...
Hans-Peter Nilsson [Fri, 17 Jun 2011 11:18:37 +0000 (11:18 +0000)] 
re PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may be clobbered (including the return-address))

PR rtl-optimization/48542
* gcc.dg/torture/pr48542.c: New test.

From-SVN: r175142

14 years agore PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may...
Hans-Peter Nilsson [Fri, 17 Jun 2011 11:17:34 +0000 (11:17 +0000)] 
re PR rtl-optimization/48542 (unchanged variables in code which calls setjmp may be clobbered (including the return-address))

PR rtl-optimization/48542
* reload.c (find_equiv_reg): Stop looking when finding a
setjmp-type call.
* reload1.c (reload_as_needed): Invalidate all reload
registers when crossing a setjmp-type call.

From-SVN: r175141

14 years agoDaily bump.
GCC Administrator [Fri, 17 Jun 2011 00:18:45 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r175127

14 years agore PR target/49307 (ICE in spill_failure, at reload1.c:2113)
Kaz Kojima [Thu, 16 Jun 2011 22:08:20 +0000 (22:08 +0000)] 
re PR target/49307 (ICE in spill_failure, at reload1.c:2113)

PR target/49307
* config/sh/sh.md (UNSPEC_CHKADD): New.
(chk_guard_add): New define_insn_and_split.
(symGOT_load): Use chk_guard_add instead of blockage.

From-SVN: r175118

14 years agoDaily bump.
GCC Administrator [Thu, 16 Jun 2011 00:17:47 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175086

14 years agoDaily bump.
GCC Administrator [Wed, 15 Jun 2011 00:18:03 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r175068

14 years agoDaily bump.
GCC Administrator [Tue, 14 Jun 2011 00:18:33 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r175004

14 years agoDaily bump.
GCC Administrator [Mon, 13 Jun 2011 00:18:18 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r174977

14 years agoDaily bump.
GCC Administrator [Sun, 12 Jun 2011 00:17:44 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174962

14 years agosse.md (vec_dupv4sf): Correct mode of forced register.
Uros Bizjak [Sat, 11 Jun 2011 12:08:53 +0000 (14:08 +0200)] 
sse.md (vec_dupv4sf): Correct mode of forced register.

* config/i386/sse.md (vec_dupv4sf): Correct mode of forced register.
(*vec_dupv2df): Rename from vec_dupv2df.
(vec_dupv2df): New expander.

From-SVN: r174951

14 years agoDaily bump.
GCC Administrator [Sat, 11 Jun 2011 00:17:11 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174936

14 years agoDaily bump.
GCC Administrator [Fri, 10 Jun 2011 00:17:31 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174874

14 years ago* config/sparc/sparc.md (return_internal): Adjust 'length' attribute.
Eric Botcazou [Thu, 9 Jun 2011 19:51:03 +0000 (19:51 +0000)] 
* config/sparc/sparc.md (return_internal): Adjust 'length' attribute.

From-SVN: r174857

14 years agoDaily bump.
GCC Administrator [Thu, 9 Jun 2011 00:17:49 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174827

14 years agore PR target/49238 ([SH] ICE in extract_insn, at recog.c:2113)
Kaz Kojima [Wed, 8 Jun 2011 04:10:26 +0000 (04:10 +0000)] 
re PR target/49238 ([SH] ICE in extract_insn, at recog.c:2113)

PR target/49238
* config/sh/sh.c (expand_cbranchdi4): Use a scratch register if
needed when original operands are used for msw_skip comparison.
* gcc.c-torture/compile/pr49238.c: New.

From-SVN: r174794

14 years agoDaily bump.
GCC Administrator [Wed, 8 Jun 2011 00:17:59 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174786

14 years agoDaily bump.
GCC Administrator [Tue, 7 Jun 2011 00:17:45 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174731

14 years agoDaily bump.
GCC Administrator [Mon, 6 Jun 2011 00:17:43 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174676

14 years agosparc.c (output_return): Fix thinko in the output of an EH return when delayed branch...
Eric Botcazou [Sun, 5 Jun 2011 23:20:41 +0000 (23:20 +0000)] 
sparc.c (output_return): Fix thinko in the output of an EH return when delayed branches are disabled.

* config/sparc/sparc.c (output_return): Fix thinko in the output of an
EH return when delayed branches are disabled.

From-SVN: r174672

14 years agore PR target/49186 (optimize problem with unsigned long long value.)
Kaz Kojima [Sun, 5 Jun 2011 21:50:29 +0000 (21:50 +0000)] 
re PR target/49186 (optimize problem with unsigned long long value.)

PR target/49186
* config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high
part of the second operand is 0.
* gcc.c-torture/execute/pr49186.c: New.

From-SVN: r174666

14 years agoDaily bump.
GCC Administrator [Sun, 5 Jun 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174653

14 years agore PR tree-optimization/49038 (-ftree-vectorise introduces reads past end of array)
Ira Rosen [Sat, 4 Jun 2011 09:12:55 +0000 (09:12 +0000)] 
re PR tree-optimization/49038 (-ftree-vectorise introduces reads past end of array)

PR tree-optimization/49038
* tree-vect-loop-manip.c (vect_generate_tmps_on_preheader):
Ensure at least one epilogue iteration if required by data
accesses with gaps.
* tree-vectorizer.h (struct _loop_vec_info): Add new field
to mark loops that require peeling for gaps.
* tree-vect-loop.c (new_loop_vec_info): Initialize new field.
(vect_estimate_min_profitable_iters): Take peeling for gaps into
account.
(vect_transform_loop): Generate epilogue if required by data
access with gaps.
* tree-vect-data-refs.c (vect_analyze_group_access): Mark the
loop as requiring an epilogue if there are gaps in the end of
the strided group.

From-SVN: r174634

14 years agoDaily bump.
GCC Administrator [Sat, 4 Jun 2011 00:17:24 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174628

14 years agoDaily bump.
GCC Administrator [Fri, 3 Jun 2011 00:17:40 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174590

14 years agobackport: re PR fortran/45786 (Relational operators .eq. and == are not recognized...
Thomas Koenig [Thu, 2 Jun 2011 09:09:53 +0000 (09:09 +0000)] 
backport: re PR fortran/45786 (Relational operators .eq. and == are not recognized as equivalent)

2011-06-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/45786
* interface.c (gfc_equivalent_op):  New function.
(gfc_check_interface):  Use gfc_equivalent_op instead
of switch statement.
* decl.c (access_attr_decl):  Also set access to an
equivalent operator.

2011-06-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/45786
* gfortran.dg/operator_7.f90:  New test case.

From-SVN: r174560

14 years agoDaily bump.
GCC Administrator [Thu, 2 Jun 2011 00:17:33 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174555

14 years agoDaily bump.
GCC Administrator [Wed, 1 Jun 2011 00:17:35 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174516

14 years agoBackport the fix for PR47714 from the 4.6 branch.
Duncan Sands [Tue, 31 May 2011 07:03:53 +0000 (09:03 +0200)] 
Backport the fix for PR47714 from the 4.6 branch.

From-SVN: r174467

14 years agoDaily bump.
GCC Administrator [Tue, 31 May 2011 00:18:33 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r174461

14 years agoDaily bump.
GCC Administrator [Mon, 30 May 2011 00:18:10 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r174420

14 years agore PR target/43700 (global register variables defect)
Richard Sandiford [Sun, 29 May 2011 17:51:03 +0000 (17:51 +0000)] 
re PR target/43700 (global register variables defect)

gcc/
PR target/43700
* config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global
registers.

gcc/testsuite/
* gcc.target/mips/reg-var-1.c: New test.

From-SVN: r174408

14 years agore PR target/43995 (internal compiler error: Segmentation fault on Mips64 crossbuild...
Richard Sandiford [Sun, 29 May 2011 17:50:53 +0000 (17:50 +0000)] 
re PR target/43995 (internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs)

gcc/
PR target/43995
* config/mips/mips.c (mips_pic_call_symbol_from_set): Add a
recurse_p argument.  Only follow register copies if it is set,
and prevent mips_find_pic_call_symbol from recursing.
(mips_find_pic_call_symbol): Add a recurse_p argument.
Pass it to mips_pic_call_symbol_from_set.
(mips_annotate_pic_calls): Update accordingly.

From-SVN: r174407

14 years agoDaily bump.
GCC Administrator [Sun, 29 May 2011 00:17:48 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174389

14 years agoDaily bump.
GCC Administrator [Sat, 28 May 2011 00:17:40 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174371

14 years agoDaily bump.
GCC Administrator [Fri, 27 May 2011 00:17:08 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174313

14 years agosparc-protos.h (sparc_optimization_options): Declare.
Eric Botcazou [Thu, 26 May 2011 12:46:47 +0000 (12:46 +0000)] 
sparc-protos.h (sparc_optimization_options): Declare.

* config/sparc/sparc-protos.h (sparc_optimization_options): Declare.
* config/sparc/sparc.h (OPTIMIZATION_OPTIONS): Define.
* config/sparc/sparc.c (sparc_optimization_options): New function.
Set flag_ira_share_save_slots to 0.

From-SVN: r174280

14 years agobackport: re PR rtl-optimization/41619 (ICE in insert_save (caller-save.c) for SPEC...
Eric Botcazou [Thu, 26 May 2011 12:43:06 +0000 (12:43 +0000)] 
backport: re PR rtl-optimization/41619 (ICE in insert_save (caller-save.c) for SPEC CPU2000's 252.eon)

Backport from mainline
2011-01-21  Jeff Law  <law@redhat.com>

PR rtl-optimization/41619
* caller-save.c (setup_save_areas): Break out code to determine
which hard regs are live across calls by examining the reload chains
so that it is always used.
Eliminate code which checked REG_N_CALLS_CROSSED.

From-SVN: r174278

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

From-SVN: r174250

14 years ago* g++.dg/other/pr49133.C: Require effective target sse2.
Uros Bizjak [Wed, 25 May 2011 16:22:16 +0000 (18:22 +0200)] 
* g++.dg/other/pr49133.C: Require effective target sse2.

From-SVN: r174212

14 years agore PR target/49133 (modification of aliased __m128d miscompiles)
Uros Bizjak [Wed, 25 May 2011 13:26:42 +0000 (15:26 +0200)] 
re PR target/49133 (modification of aliased __m128d miscompiles)

PR target/49133
* config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative.

testsuite/ChangeLog:

PR target/49133
* g++.dg/other/pr49133.C: New test.

From-SVN: r174195

14 years agoDaily bump.
GCC Administrator [Wed, 25 May 2011 00:17:57 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174155

14 years agoDaily bump.
GCC Administrator [Tue, 24 May 2011 00:17:51 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174097

14 years agoDaily bump.
GCC Administrator [Mon, 23 May 2011 00:18:30 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r174052

14 years agoDaily bump.
GCC Administrator [Sun, 22 May 2011 00:17:50 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r174019

14 years agosparc.md (setjmp): Handle PIC mode and use the hard frame pointer.
Eric Botcazou [Sat, 21 May 2011 22:50:20 +0000 (22:50 +0000)] 
sparc.md (setjmp): Handle PIC mode and use the hard frame pointer.

* config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard
frame pointer.

From-SVN: r174015