diff options
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index f7b817d..e99fb9f 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -324,6 +324,9 @@ replace_loop_annotate (void) /* Then look into the latch, if any. */ if (loop->latch) replace_loop_annotate_in_block (loop->latch, loop); + + /* Push the global flag_finite_loops state down to individual loops. */ + loop->finite_p = flag_finite_loops; } /* Remove IFN_ANNOTATE. Safeguard for the case loop->latch == NULL. */ |