re PR tree-optimization/86927 (Gcc miscompiles at -O3 on valid code)
authorRichard Biener <rguenther@suse.de>
Mon, 27 Aug 2018 14:17:03 +0000 (14:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 27 Aug 2018 14:17:03 +0000 (14:17 +0000)
commitefc3a1a101184a73718bcb034e530e57cd65a543
treeac8a0f32f451eb4a03dcf94123aa557266812792
parentde5b5228631d14e272ec8bf93827dea3da16a33d
re PR tree-optimization/86927 (Gcc miscompiles at -O3 on valid code)

2018-08-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86927
* tree-vect-loop.c (vect_create_epilog_for_reduction): Properly
use const cond reduction code.

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

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