[Bug tree-optimization/61518] [4.10 Regression] wrong code (by tree vectorizer) at -O3 on x86_64-linux-gnu
kyukhin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 18 11:41:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61518
--- Comment #3 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Author: kyukhin
Date: Wed Jun 18 11:40:59 2014
New Revision: 211780
URL: https://gcc.gnu.org/viewcvs?rev=211780&root=gcc&view=rev
Log:
PR tree-optimization/61518
gcc/
* tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
reduction var is used in reduction stmt or phi-function only.
gcc/testsuite/
* gcc.dg/torture/pr61518.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr61518.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-if-conv.c
More information about the Gcc-bugs
mailing list