re PR tree-optimization/51070 (ICE verify_gimple failed)
authorRichard Guenther <rguenther@suse.de>
Thu, 10 Nov 2011 13:46:27 +0000 (13:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 10 Nov 2011 13:46:27 +0000 (13:46 +0000)
commitc07a8cb3c903f5152e013748f773adecdb82122e
treec2b4709a3f92857670cb47250ae665dc6acc197b
parent98dd3b733fc0ca686b25c067bd0e38feebd6b565
re PR tree-optimization/51070 (ICE verify_gimple failed)

2011-11-10  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/51070
* tree-loop-distribution.c (generate_builtin): Do not replace
the loop with a builtin if the partition contains statements which
results are used outside of the loop.
(pass_loop_distribution): Verify and collect.

* gcc.dg/torture/pr51070.c: New testcase.

From-SVN: r181255
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr51070.c [new file with mode: 0644]
gcc/tree-loop-distribution.c