* [Bug tree-optimization/56350] [4.7/4.8 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
@ 2013-02-15 19:52 ` mpolacek at gcc dot gnu.org
2013-02-17 13:32 ` jakub at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-02-15 19:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-02-15
CC| |mpolacek at gcc dot gnu.org
Known to work| |4.6.4
Target Milestone|--- |4.8.0
Summary|ICE in |[4.7/4.8 Regression] ICE in
|vectorizable_reduction, at |vectorizable_reduction, at
|tree-vect-loop.c:4731 |tree-vect-loop.c:4731
Ever Confirmed|0 |1
Known to fail| |4.7.3, 4.8.0
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-02-15 19:52:07 UTC ---
Confirmed. ICEs with trunk/4.7.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/56350] [4.7/4.8 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
2013-02-15 19:52 ` [Bug tree-optimization/56350] [4.7/4.8 Regression] " mpolacek at gcc dot gnu.org
@ 2013-02-17 13:32 ` jakub at gcc dot gnu.org
2013-02-18 10:41 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-17 13:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
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> 2013-02-17 13:31:58 UTC ---
Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182388
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/56350] [4.7/4.8 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
2013-02-15 19:52 ` [Bug tree-optimization/56350] [4.7/4.8 Regression] " mpolacek at gcc dot gnu.org
2013-02-17 13:32 ` jakub at gcc dot gnu.org
@ 2013-02-18 10:41 ` jakub at gcc dot gnu.org
2013-02-18 13:04 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-18 10:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
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 #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-18 10:41:16 UTC ---
Created attachment 29481
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29481
gcc48-pr56350.patch
Untested fix.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/56350] [4.7/4.8 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
` (2 preceding siblings ...)
2013-02-18 10:41 ` jakub at gcc dot gnu.org
@ 2013-02-18 13:04 ` rguenth at gcc dot gnu.org
2013-02-18 14:19 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-02-18 13:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-18 13:03:24 UTC ---
Author: rguenth
Date: Mon Feb 18 13:03:15 2013
New Revision: 196118
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196118
Log:
2013-02-18 Richard Biener <rguenther@suse.de>
PR middle-end/56350
* cfghooks.c (merge_blocks): If we merge a latch into another
block adjust references to it.
* cfgloop.c (flow_loops_find): Reset latch before recomputing it.
(verify_loop_structure): Verify that a recorded latch is in fact
a latch.
* gcc.dg/torture/pr56350.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr56350.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfghooks.c
trunk/gcc/cfgloop.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/56350] [4.7/4.8 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
` (3 preceding siblings ...)
2013-02-18 13:04 ` rguenth at gcc dot gnu.org
@ 2013-02-18 14:19 ` jakub at gcc dot gnu.org
2013-02-19 9:15 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-18 14:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-18 14:19:04 UTC ---
The previous commit was for PR56349.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/56350] [4.7/4.8 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
` (4 preceding siblings ...)
2013-02-18 14:19 ` jakub at gcc dot gnu.org
@ 2013-02-19 9:15 ` jakub at gcc dot gnu.org
2013-02-19 9:20 ` [Bug tree-optimization/56350] [4.7 " jakub at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-19 9:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 09:14:41 UTC ---
Author: jakub
Date: Tue Feb 19 09:14:33 2013
New Revision: 196134
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196134
Log:
PR tree-optimization/56350
* tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
if haven't found reduction or nested cycle operand, rather than
asserting we must find it.
* gcc.dg/pr56350.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr56350.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-loop.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/56350] [4.7 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
` (5 preceding siblings ...)
2013-02-19 9:15 ` jakub at gcc dot gnu.org
@ 2013-02-19 9:20 ` jakub at gcc dot gnu.org
2013-02-19 17:31 ` jakub at gcc dot gnu.org
2013-02-19 17:46 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-19 9:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.8.0
Summary|[4.7/4.8 Regression] ICE in |[4.7 Regression] ICE in
|vectorizable_reduction, at |vectorizable_reduction, at
|tree-vect-loop.c:4731 |tree-vect-loop.c:4731
Known to fail|4.8.0 |
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 09:19:34 UTC ---
Fixed on the trunk so far.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/56350] [4.7 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
` (6 preceding siblings ...)
2013-02-19 9:20 ` [Bug tree-optimization/56350] [4.7 " jakub at gcc dot gnu.org
@ 2013-02-19 17:31 ` jakub at gcc dot gnu.org
2013-02-19 17:46 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-19 17:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 17:30:35 UTC ---
Author: jakub
Date: Tue Feb 19 17:30:27 2013
New Revision: 196150
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196150
Log:
Backported from mainline
2013-02-19 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/56350
* tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
if haven't found reduction or nested cycle operand, rather than
asserting we must find it.
* gcc.dg/pr56350.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr56350.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree-vect-loop.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/56350] [4.7 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
2013-02-15 19:42 [Bug tree-optimization/56350] New: ICE in vectorizable_reduction, at tree-vect-loop.c:4731 antoine.balestrat at gmail dot com
` (7 preceding siblings ...)
2013-02-19 17:31 ` jakub at gcc dot gnu.org
@ 2013-02-19 17:46 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-02-19 17:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 17:45:32 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread