From ba4dc75f3ba3ac8639727f364faef2c3fdc40239 Mon Sep 17 00:00:00 2001 From: jakub Date: Fri, 4 Jul 2014 08:38:45 +0000 Subject: PR middle-end/61654 * cgraphunit.c (expand_thunk): Call free_dominance_info. * g++.dg/opt/pr61654.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212293 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cgraphunit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/cgraphunit.c') diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index f7980ed5115..b2bafe47612 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1693,6 +1693,7 @@ expand_thunk (struct cgraph_node *node, bool output_asm_thunks, bool force_gimpl #ifdef ENABLE_CHECKING verify_flow_info (); #endif + free_dominance_info (CDI_DOMINATORS); /* Since we want to emit the thunk, we explicitly mark its name as referenced. */ -- cgit v1.2.1