https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Mon Jun 1 13:55:12 2015 New Revision: 223979 URL: https://gcc.gnu.org/viewcvs?rev=223979&root=gcc&view=rev Log: 2015-06-01 Richard Biener <rguent...@suse.de> Revert 2015-05-29 Richard Biener <rguent...@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. Removed: trunk/gcc/testsuite/gcc.dg/asan/pr66314.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-threadupdate.c