]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR other/61391 (ICE in execute_one_pass at -O3 and above)
authorYuri Rumyantsev <ysrumyan@gmail.com>
Thu, 5 Jun 2014 10:24:22 +0000 (10:24 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Thu, 5 Jun 2014 10:24:22 +0000 (10:24 +0000)
commite12355efb750245dbf58be8b054f2ab360d53f9e
treed67f6880cc1ad781381c7f8dd4b6d1fd079b34cc
parent947ca6a0c89e475c5ca53cd2a6c291dafab3d5bc
re PR other/61391 (ICE in execute_one_pass at -O3 and above)

2014-06-05  Yuri Rumyantsev  <ysrumyan@gmail.com>

gcc/
PR tree-optimization/61391
* tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
stmt belongs to loop.

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

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