]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/61576 (wrong code at -O3 on x86_64-linux-gnu)
authorYuri Rumyantsev <ysrumyan@gmail.com>
Tue, 8 Jul 2014 07:52:12 +0000 (07:52 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Tue, 8 Jul 2014 07:52:12 +0000 (07:52 +0000)
commit0f6284d27f11d16cced47627deb022041f8c9cac
treefd782f878125aa7106ac5a7c54a0d726e5abe2e1
parent605f12f4dcb80940461150cfa9427a12653d8ed3
re PR tree-optimization/61576 (wrong code at -O3 on x86_64-linux-gnu)

PR tree-optimization/61576

gcc/
* tree-if-conv.c (is_cond_scalar_reduction): Add check that
basic block containing reduction statement is predecessor
of phi basi block.

gcc/testsuite/
* gcc.dg/torture/pr61576.c: New test.

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