]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR tree-optimization/60382 (ICE on valid code at -O3 on x86_64-linux...
authorRichard Biener <rguenther@suse.de>
Tue, 13 May 2014 13:21:47 +0000 (13:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 May 2014 13:21:47 +0000 (13:21 +0000)
commitec6b957f5d20e7e9e2dc1b01ede98532bce7c2a7
treea93ff3386a98f7fa9049e1275313ae317270c990
parent3ce085a300e46cac5b29adc2603d22221540bb1c
backport: re PR tree-optimization/60382 (ICE on valid code at -O3 on x86_64-linux-gnu (in vect_create_epilog_for_reduction, at tree-vect-loop.c:4352))

2014-05-13  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-03-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60382
* tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
dead PHIs a reduction.

* gcc.dg/vect/pr60382.c: New testcase.

From-SVN: r210371
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr60382.c [new file with mode: 0644]
gcc/tree-vect-loop.c