]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/61518 (wrong code (by tree vectorizer) at -O3 on x86_64-linux...
authorYuri Rumyantsev <ysrumyan@gmail.com>
Wed, 18 Jun 2014 11:40:59 +0000 (11:40 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Wed, 18 Jun 2014 11:40:59 +0000 (11:40 +0000)
commit560c75e960fafc380191bf162a8e428a35e5fb67
treea73d2e99228d20c464e25f44518f4a4346c72d1a
parent751738cb0c1aac9501284e6973d8438919edc581
re PR tree-optimization/61518 (wrong code (by tree vectorizer) at -O3 on x86_64-linux-gnu)

        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.

From-SVN: r211780
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr61518.c [new file with mode: 0644]
gcc/tree-if-conv.c