diff options
author | Richard Biener <rguenther@suse.de> | 2017-05-11 07:26:32 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-05-11 07:26:32 +0000 |
commit | 687aed9cc8c53b7833df9c62912292c17fdbc97f (patch) | |
tree | 771604cdd80818bfa104f17817ef974cee473876 /gcc/trans-mem.c | |
parent | eb5095f83f43c7ed972574047551b4538fa23f5e (diff) | |
download | gcc-687aed9cc8c53b7833df9c62912292c17fdbc97f.zip gcc-687aed9cc8c53b7833df9c62912292c17fdbc97f.tar.gz gcc-687aed9cc8c53b7833df9c62912292c17fdbc97f.tar.bz2 |
passes.c (execute_function_todo): Verify loops if they are said to be up-to-date.
2017-05-11 Richard Biener <rguenther@suse.de>
* passes.c (execute_function_todo): Verify loops if they are
said to be up-to-date.
* cfgexpand.c (pass_expand::execute): Discard loops for -dx.
* trans-mem.c (pass_tm_edges::execute): Mark loops for fixup.
From-SVN: r247879
Diffstat (limited to 'gcc/trans-mem.c')
-rw-r--r-- | gcc/trans-mem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c index 4409bea..b564d36 100644 --- a/gcc/trans-mem.c +++ b/gcc/trans-mem.c @@ -3369,6 +3369,8 @@ pass_tm_edges::execute (function *fun) must be rebuilt completely. Otherwise we'll crash trying to update the SSA web in the TODO section following this pass. */ free_dominance_info (CDI_DOMINATORS); + /* We'ge also wrecked loops badly with inserting of abnormal edges. */ + loops_state_set (LOOPS_NEED_FIXUP); bitmap_obstack_release (&tm_obstack); all_tm_regions = NULL; |