diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-29 11:37:55 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-29 11:37:55 +0000 |
commit | 21a003a7bcc461722bcc787d46ebe1ccf973dcde (patch) | |
tree | 223dccd8832873ad291ed8fecbf1eae8a75f55c0 /gcc/cgraph.c | |
parent | 54751bcf5d01eec45ff1ff280d5f0ca527aa58f6 (diff) | |
download | gcc-21a003a7bcc461722bcc787d46ebe1ccf973dcde.tar.gz |
2014-04-29 Richard Biener <rguenther@suse.de>
* dominance.c (free_dominance_info): Add overload with
function parameter.
(dom_info_state): Likewise.
(dom_info_available_p): Likewise.
* basic-block.h (free_dominance_info, dom_info_state,
dom_info_available_p): Declare overloads.
* passes.c (execute_function_todo): Verify that verifiers
don't change dominator info state. Drop dominator info
for IPA pass invocations.
* cgraph.c (release_function_body): Restore asserts that
dominator information is released.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209892 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 51915424de1..5b773e30036 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1696,8 +1696,8 @@ release_function_body (tree decl) } if (cfun->cfg) { - free_dominance_info (CDI_DOMINATORS); - free_dominance_info (CDI_POST_DOMINATORS); + gcc_assert (!dom_info_available_p (CDI_DOMINATORS)); + gcc_assert (!dom_info_available_p (CDI_POST_DOMINATORS)); clear_edges (); cfun->cfg = NULL; } |