re PR middle-end/66314 (ice in verify_loop_structure)
authorRichard Biener <rguenther@suse.de>
Fri, 29 May 2015 10:50:58 +0000 (10:50 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 29 May 2015 10:50:58 +0000 (10:50 +0000)
commit52fc6859fe39a811a2a5ca81813e27cf1800b9c2
treedba06219d91afb7832911c1b609117625f653379
parent59cff2cd911f9cade7d5f6c73cbb56c6615c8c14
re PR middle-end/66314 (ice in verify_loop_structure)

2015-05-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66314
* tree-ssa-threadupdate.c (create_block_for_threading): Add
parameter that says which loop the new block belongs to.
(ssa_create_duplicates): Blocks duplicated for the threaded
path belong to the loop of the thread destination.

* gcc.dg/asan/pr66314.c: New testcase.

From-SVN: r223861
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr66314.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c