* [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
@ 2011-07-04 9:44 ` rguenth at gcc dot gnu.org
2011-07-04 10:31 ` jakub at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-07-04 9:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-*-*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.07.04 09:43:58
Target Milestone|--- |4.5.4
Summary|ICE in simplify_subreg, at |[4.5/4.6/4.7 Regression]
|simplify-rtx.c:5362 |ICE in simplify_subreg, at
| |simplify-rtx.c:5362
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-04 09:43:58 UTC ---
Confirmed.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
2011-07-04 9:44 ` [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] " rguenth at gcc dot gnu.org
@ 2011-07-04 10:31 ` jakub at gcc dot gnu.org
2011-07-04 14:12 ` jakub at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04 10:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 10:30:10 UTC ---
Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145494
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
2011-07-04 9:44 ` [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] " rguenth at gcc dot gnu.org
2011-07-04 10:31 ` jakub at gcc dot gnu.org
@ 2011-07-04 14:12 ` jakub at gcc dot gnu.org
2011-07-04 14:14 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04 14:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 14:11:50 UTC ---
The problem is that simplify_gen_binary (IOR, mode, ....); can simplify
into anything, in this case into a (subreg:HI (reg:SI ...) 0), so we really
don't know the argument of its first operand. It could be mode, but can be
anything else too. I don't think it is actually useful to pass it at all
though, if IOR was with two CONST_INT arguments, it would have been simplified
into constant already by simplify_gen_binary.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
` (2 preceding siblings ...)
2011-07-04 14:12 ` jakub at gcc dot gnu.org
@ 2011-07-04 14:14 ` jakub at gcc dot gnu.org
2011-07-04 21:05 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04 14:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 14:13:21 UTC ---
Created attachment 24675
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24675
gcc47-pr49619.patch
Untested fix. The second part perhaps should be trunk only, not backported to
the branches.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
` (3 preceding siblings ...)
2011-07-04 14:14 ` jakub at gcc dot gnu.org
@ 2011-07-04 21:05 ` jakub at gcc dot gnu.org
2011-07-04 21:11 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04 21:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 21:04:57 UTC ---
Author: jakub
Date: Mon Jul 4 21:04:54 2011
New Revision: 175825
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175825
Log:
PR rtl-optimization/49619
* combine.c (combine_simplify_rtx): In PLUS -> IOR simplification
pass VOIDmode as op0_mode to recursive call, and return temp even
when different from tor, just if it is not IOR of the original
PLUS arguments.
* gcc.dg/pr49619.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr49619.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/simplify-rtx.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5/4.6/4.7 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
` (4 preceding siblings ...)
2011-07-04 21:05 ` jakub at gcc dot gnu.org
@ 2011-07-04 21:11 ` jakub at gcc dot gnu.org
2011-07-04 21:17 ` [Bug rtl-optimization/49619] [4.5 " jakub at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04 21:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 21:10:44 UTC ---
Author: jakub
Date: Mon Jul 4 21:10:42 2011
New Revision: 175829
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175829
Log:
PR rtl-optimization/49619
* combine.c (combine_simplify_rtx): In PLUS -> IOR simplification
pass VOIDmode as op0_mode to recursive call, and return temp even
when different from tor, just if it is not IOR of the original
PLUS arguments.
* gcc.dg/pr49619.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr49619.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/combine.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
` (5 preceding siblings ...)
2011-07-04 21:11 ` jakub at gcc dot gnu.org
@ 2011-07-04 21:17 ` jakub at gcc dot gnu.org
2011-07-19 12:59 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04 21:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.5/4.6/4.7 Regression] |[4.5 Regression] ICE in
|ICE in simplify_subreg, at |simplify_subreg, at
|simplify-rtx.c:5362 |simplify-rtx.c:5362
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 21:16:33 UTC ---
Fixed for 4.6+ so far.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
` (6 preceding siblings ...)
2011-07-04 21:17 ` [Bug rtl-optimization/49619] [4.5 " jakub at gcc dot gnu.org
@ 2011-07-19 12:59 ` jakub at gcc dot gnu.org
2011-07-19 19:33 ` jakub at gcc dot gnu.org
2011-07-19 19:52 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-19 12:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-19 12:58:57 UTC ---
Author: jakub
Date: Tue Jul 19 12:58:54 2011
New Revision: 176454
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176454
Log:
Backport from mainline
2011-07-04 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/49619
* combine.c (combine_simplify_rtx): In PLUS -> IOR simplification
pass VOIDmode as op0_mode to recursive call.
* gcc.dg/pr49619.c: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr49619.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/combine.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
` (7 preceding siblings ...)
2011-07-19 12:59 ` jakub at gcc dot gnu.org
@ 2011-07-19 19:33 ` jakub at gcc dot gnu.org
2011-07-19 19:52 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-19 19:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-19 19:32:15 UTC ---
Author: jakub
Date: Tue Jul 19 19:32:12 2011
New Revision: 176485
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176485
Log:
Backport from mainline
2011-07-04 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/49619
* combine.c (combine_simplify_rtx): In PLUS -> IOR simplification
pass VOIDmode as op0_mode to recursive call.
* gcc.dg/pr49619.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr49619.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/combine.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/49619] [4.5 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
2011-07-03 17:55 [Bug rtl-optimization/49619] New: ICE in simplify_subreg, at simplify-rtx.c:5362 arthur.j.odwyer at gmail dot com
` (8 preceding siblings ...)
2011-07-19 19:33 ` jakub at gcc dot gnu.org
@ 2011-07-19 19:52 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-19 19:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-19 19:51:32 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 11+ messages in thread