diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-04 08:38:45 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-04 08:38:45 +0000 |
commit | ba4dc75f3ba3ac8639727f364faef2c3fdc40239 (patch) | |
tree | 490c05435b028566dbc257f7cbc48738ba99359a /gcc/cgraphunit.c | |
parent | 48331bf4607e1df3ddcf08f030a74c326f016ed9 (diff) | |
download | gcc-ba4dc75f3ba3ac8639727f364faef2c3fdc40239.tar.gz |
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
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 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. */ |