[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-18 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

--- Comment #10 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Jun 18 20:01:37 2014
New Revision: 211803

URL: https://gcc.gnu.org/viewcvs?rev=211803&root=gcc&view=rev
Log:
Backport from mainline
2014-06-06  Uros Bizjak  

PR target/61423
* config/i386/i386.md (*floatunssi2_i387_with_xmm): New
define_insn_and_split pattern, merged from *floatunssi2_1
and corresponding splitters.  Zero extend general register
or memory input operand to XMM temporary.  Enable for
TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
(floatunssi2): Update expander predicate.

testsuite/ChangeLog:

Backport from mainline
2014-06-13  Ilya Enkovich  

PR rtl-optimization/61094
PR rtl-optimization/61446
* gcc.target/i386/pr61446.c : New.

Backport from mainline
2014-06-06  Uros Bizjak  

PR target/61423
* gcc.target/i386/pr61423.c: New test.


Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr61423.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr61446.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/i386/i386.md
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-13 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

--- Comment #9 from Jeffrey A. Law  ---
Author: law
Date: Fri Jun 13 16:50:10 2014
New Revision: 211652

URL: https://gcc.gnu.org/viewcvs?rev=211652&root=gcc&view=rev
Log:
2014-06-13  Jeff Law  

PR rtl-optimization/61094
PR rtl-optimization/61446
* ree.c (combine_reaching_defs): Get the mode for the copy from
the extension insn rather than the defining insn.

2014-06-13  Ilya Enkovich  

PR rtl-optimization/61094
PR rtl-optimization/61446
* gcc.target/i386/pr61446.c : New.

Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr61446.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/ree.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

Jeffrey A. Law  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||law at redhat dot com
 Resolution|--- |FIXED

--- Comment #8 from Jeffrey A. Law  ---
Should be fixed on the trunk with most recent checkin.


[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-13 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

--- Comment #7 from Jeffrey A. Law  ---
Author: law
Date: Fri Jun 13 16:40:48 2014
New Revision: 211649

URL: https://gcc.gnu.org/viewcvs?rev=211649&root=gcc&view=rev
Log:
2014-06-13  Jeff Law  

PR rtl-optimization/61094
PR rtl-optimization/61446
* ree.c (combine_reaching_defs): Get the mode for the copy from
the extension insn rather than the defining insn.

2014-06-13  Ilya Enkovich  

PR rtl-optimization/61094
PR rtl-optimization/61446
* gcc.target/i386/pr61446.c : New.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr61446.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ree.c
trunk/gcc/testsuite/ChangeLog


[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

Richard Biener  changed:

   What|Removed |Added

 CC||juergen.reuter at desy dot de

--- Comment #6 from Richard Biener  ---
*** Bug 61477 has been marked as a duplicate of this bug. ***


[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

--- Comment #5 from Dominique d'Humieres  ---
This pr has been exposed by revision r211321 and breaks bootstrap on all
targets configured for Core* (including darwin which is configured by default
for Core2, see pr61477).


[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

--- Comment #4 from Dominique d'Humieres  ---
> Proposed patch at [1].
>
> [1] https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00775.html

This patch fixes bootstrap on Core* targets.


[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

--- Comment #3 from Uroš Bizjak  ---
Proposed patch at [1].

[1] https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00775.html

[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

--- Comment #2 from Uroš Bizjak  ---
(In reply to Dominique d'Humieres from comment #1)
> This breaks bootstrap on x86_64-apple-darwin13 and other targets (see
> https://gcc.gnu.org/ml/gcc-regression/2014-06/). On darwin the failure is

Yes, known problem. Please use following patch to disable REE pass for now:

Index: common/config/i386/i386-common.c
===
--- common/config/i386/i386-common.c(revision 211321)
+++ common/config/i386/i386-common.c(working copy)
@@ -866,7 +866,7 @@
 static const struct default_options ix86_option_optimization_table[] =
   {
 /* Enable redundant extension instructions removal at -O2 and higher.  */
-{ OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
+{ OPT_LEVELS_2_PLUS, OPT_free, NULL, 0 },
 /* Enable function splitting at -O2 and higher.  */
 { OPT_LEVELS_2_PLUS, OPT_freorder_blocks_and_partition, NULL, 1 },
 /* Turn off -fschedule-insns by default.  It tends to make the

[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-08 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-06-08
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres  ---
This breaks bootstrap on x86_64-apple-darwin13 and other targets (see
https://gcc.gnu.org/ml/gcc-regression/2014-06/). On darwin the failure is

/opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/
-B/opt/gcc/gcc4.10w/x86_64-apple-darwin13.2.0/bin/
-B/opt/gcc/gcc4.10w/x86_64-apple-darwin13.2.0/lib/ -isystem
/opt/gcc/gcc4.10w/x86_64-apple-darwin13.2.0/include -isystem
/opt/gcc/gcc4.10w/x86_64-apple-darwin13.2.0/sys-include-g -O2 -O2  -g -O2
-DIN_GCC-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include   -pipe -fno-common -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -pipe -fno-common -I. -I. -I../.././gcc
-I../../../work/libgcc -I../../../work/libgcc/. -I../../../work/libgcc/../gcc
-I../../../work/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
_fixunssfti_s.o -MT _fixunssfti_s.o -MD -MP -MF _fixunssfti_s.dep -DSHARED
-DL_fixunsdfdi -c ../../../work/libgcc/libgcc2.c \
-DLIBGCC2_UNITS_PER_WORD=8
../../../../work/libgcc/libgcc2.c: In function '__fixunssfdi':
../../../../work/libgcc/libgcc2.c:1492:1: error: insn does not satisfy its
constraints:
 }
 ^
(insn 60 13 14 2 (set (reg:DI 0 ax)
(reg:DI 21 xmm0)) ../../../../work/libgcc/libgcc2.c:1444 89
{*movdi_internal}
 (expr_list:REG_UNUSED (reg:DI 0 ax)
(nil)))
../../../../work/libgcc/libgcc2.c:1492:1: internal compiler error: in
copyprop_hardreg_forward_1, at regcprop.c:776

Reverting r211321 allowed me to bootstrap r211353 on x86_64-apple-darwin13.


[Bug rtl-optimization/61446] [4.10 Regression]: ICE in copyprop_hardreg_forward_1, at regcprop.c with -O2 -m32 -march=corei7

2014-06-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61446

Uroš Bizjak  changed:

   What|Removed |Added

 Target||i686
 Blocks||61423
   Target Milestone|--- |4.10.0