http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58246
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Sep 3 12:18:34 2013 New Revision: 202217 URL: http://gcc.gnu.org/viewcvs?rev=202217&root=gcc&view=rev Log: 2013-09-03 Richard Biener <rguent...@suse.de> Backport from mainline 2013-08-29 Richard Biener <rguent...@suse.de> PR tree-optimization/58246 * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Properly handle the dominance check inside a basic-block. * gcc.dg/torture/pr58246.c: New testcase. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr58246.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/gcc/tree-ssa-dce.c