diff options
author | Jakub Jelinek <jakub@redhat.com> | 2014-07-04 10:38:45 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-07-04 10:38:45 +0200 |
commit | 253eab4f8b997af938ebb22a0ad73ac41de3f69b (patch) | |
tree | 490c05435b028566dbc257f7cbc48738ba99359a /gcc/cgraphunit.c | |
parent | 14e000dec0e6eb1a7f3029cd147595e8972c2d23 (diff) | |
download | gcc-253eab4f8b997af938ebb22a0ad73ac41de3f69b.zip gcc-253eab4f8b997af938ebb22a0ad73ac41de3f69b.tar.gz gcc-253eab4f8b997af938ebb22a0ad73ac41de3f69b.tar.bz2 |
re PR middle-end/61654 (ICE in release_function_body, at cgraph.c:1699)
PR middle-end/61654
* cgraphunit.c (expand_thunk): Call free_dominance_info.
* g++.dg/opt/pr61654.C: New test.
From-SVN: r212293
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index f7980ed..b2bafe4 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. */ |