diff options
author | Po-Chun Chang <pchang9@cs.wisc.edu> | 2013-07-23 15:56:37 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2013-07-23 09:56:37 -0600 |
commit | c7b3b99f3101ba89ff6d5a5bb47388cfc59f17f6 (patch) | |
tree | 7eb216da80109b2f703503c7cf426f926601aa74 /gcc/cfgloopmanip.c | |
parent | c8fbf1fafa9adf574a2609e570e27bd0c234e527 (diff) | |
download | gcc-c7b3b99f3101ba89ff6d5a5bb47388cfc59f17f6.zip gcc-c7b3b99f3101ba89ff6d5a5bb47388cfc59f17f6.tar.gz gcc-c7b3b99f3101ba89ff6d5a5bb47388cfc59f17f6.tar.bz2 |
reload.c (find_reloads): Exit loop once we find this operand cannot be reloaded somehow for this alternative.
2013-07-22 Po-Chun Chang <pchang9@cs.wisc.edu>
* reload.c (find_reloads): Exit loop once we find this operand
cannot be reloaded somehow for this alternative.
* reload.c (find_reloads): Exit loop once we find a hard register.
* rtlanal.c (computed_jump_p): Exit loop once we find label
reference is used.
* i386.c (ix86_pad_returns): Exit loop after setting replace.
* cfgloopmanip.c (remove_path): Exit loop after setting
irred_invalidated.
* gensupport.c (subst_dup): Avoid loop if code is not
MATCH_DUP nor MATCH_OP_DUP.
From-SVN: r201174
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r-- | gcc/cfgloopmanip.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index bc87755..f35e5ae 100644 --- a/gcc/cfgloopmanip.c +++ b/gcc/cfgloopmanip.c @@ -343,7 +343,11 @@ remove_path (edge e) FOR_EACH_EDGE (ae, ei, e->src->succs) if (ae != e && ae->dest != EXIT_BLOCK_PTR && !bitmap_bit_p (seen, ae->dest->index) && ae->flags & EDGE_IRREDUCIBLE_LOOP) - irred_invalidated = true; + { + irred_invalidated = true; + break; + } + for (i = 0; i < nrem; i++) { bb = rem_bbs[i]; |