2015-05-29 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 May 2015 10:50:58 +0000 (10:50 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 May 2015 10:50:58 +0000 (10:50 +0000)
commit874cacba943d78b0dd28caac2b639a7184cd149a
treedba06219d91afb7832911c1b609117625f653379
parentaaea1af2d98b9e5ee3a3bf44fea409da3c15de33
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223861 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr66314.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c