summaryrefslogtreecommitdiff
path: root/gcc/gimple-ssa-isolate-paths.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-07-08 11:47:42 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-07-08 11:47:42 +0000
commitcd6bbb330d4f8883d2eb5fd97502291aa80853b3 (patch)
tree265fe7b6d7f9b0b2163e133b1cd957a8ff24da6b /gcc/gimple-ssa-isolate-paths.c
parent9158295f82ca314206f02377f59ca1e21bb98020 (diff)
re PR tree-optimization/66794 (ICE at -O2 and -O3 on x86_64-linux-gnu)
2015-07-08 Richard Biener <rguenther@suse.de> PR tree-optimization/66794 * passes.c (execute_function_todo): Assert that post-dominators are not computed. * gimple-ssa-isolate-paths.c (gimple_ssa_isolate_erroneous_paths): Free post-dominators. * gcc.dg/torture/pr66794.c: New testcase. From-SVN: r225545
Diffstat (limited to 'gcc/gimple-ssa-isolate-paths.c')
-rw-r--r--gcc/gimple-ssa-isolate-paths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-ssa-isolate-paths.c b/gcc/gimple-ssa-isolate-paths.c
index 8b98d76e510..b437182be6d 100644
--- a/gcc/gimple-ssa-isolate-paths.c
+++ b/gcc/gimple-ssa-isolate-paths.c
@@ -488,10 +488,10 @@ gimple_ssa_isolate_erroneous_paths (void)
/* We scramble the CFG and loop structures a bit, clean up
appropriately. We really should incrementally update the
loop structures, in theory it shouldn't be that hard. */
+ free_dominance_info (CDI_POST_DOMINATORS);
if (cfg_altered)
{
free_dominance_info (CDI_DOMINATORS);
- free_dominance_info (CDI_POST_DOMINATORS);
loops_state_set (LOOPS_NEED_FIXUP);
return TODO_cleanup_cfg | TODO_update_ssa;
}