re PR tree-optimization/66623 (Unsafe FP math reduction used in strict math mode)
authorRichard Biener <rguenther@suse.de>
Fri, 9 Jun 2017 09:40:45 +0000 (09:40 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 9 Jun 2017 09:40:45 +0000 (09:40 +0000)
commit01a8cacc96f2b5c1df5be8af746f758006c11511
tree339497528e7d1d89348c234988e91391b5c9c97b
parent6d1115c545d673a55f481425049ab263b58311eb
re PR tree-optimization/66623 (Unsafe FP math reduction used in strict math mode)

2017-06-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66623
* tree-vect-loop.c (vect_is_simple_reduction): Cleanup,
refactor check_reduction into two parts, properly computing
whether we have to check reduction validity for outer loop
vectorization.

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

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