re PR middle-end/53695 (ICE: in dfs_enumerate_from, at cfganal.c:1221 with -O2 -ftrac...
authorRichard Guenther <rguenther@suse.de>
Mon, 29 Oct 2012 14:25:22 +0000 (14:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 29 Oct 2012 14:25:22 +0000 (14:25 +0000)
commit9dcbb3806d28c26b27137f6d3b8538a011b8960e
treecbaaa6dbd01c991e9f8bb98fafc21b063fcdcc02
parent5f41168186604d1c47d14a601a2c0f0f8f025082
re PR middle-end/53695 (ICE: in dfs_enumerate_from, at cfganal.c:1221 with -O2 -ftracer and labels/gotos)

2012-10-29  Richard Guenther  <rguenther@suse.de>

PR middle-end/53695
* tracer.c (tracer): Fixup loop structure.
* cfgloopmanip.c (force_single_succ_latches): Add assert.
(fix_loop_structure): Re-compute loop latches and disambiguate
loops with multiple latches if required.

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

From-SVN: r192943
gcc/ChangeLog
gcc/cfgloopmanip.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr53695.c [new file with mode: 0644]
gcc/tracer.c