re PR middle-end/81832 (ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2273)
authorBin Cheng <bin.cheng@arm.com>
Wed, 16 Aug 2017 15:02:03 +0000 (15:02 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 16 Aug 2017 15:02:03 +0000 (15:02 +0000)
commit90d43c80aabfbea574ee0435b746f423a62bf3a6
treebca75064b6f4059c725bbc2111fd8d3488ec00d1
parent5dd2d9850bfe2159c1f71b25c5451eab2c603ec2
re PR middle-end/81832 (ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2273)

PR tree-optimization/81832
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Don't
copy loop header which has IFN_LOOP_DIST_ALIAS call.

gcc/testsuite
* gcc.dg/tree-ssa/pr81832.c: New test.

From-SVN: r251123
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr81832.c [new file with mode: 0644]
gcc/tree-ssa-loop-ch.c