diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-23 15:56:37 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-23 15:56:37 +0000 |
commit | b766ccbc9571f59c1816bb194e12d1a1c2c54ed4 (patch) | |
tree | 7eb216da80109b2f703503c7cf426f926601aa74 /gcc/rtlanal.c | |
parent | c2d280c9af284c2941f2dfe1f7c7964953e97053 (diff) | |
download | gcc-b766ccbc9571f59c1816bb194e12d1a1c2c54ed4.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 9567694bc15..95a314f0f3f 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2802,7 +2802,10 @@ computed_jump_p (const_rtx insn) if (GET_CODE (XVECEXP (pat, 0, i)) == USE && (GET_CODE (XEXP (XVECEXP (pat, 0, i), 0)) == LABEL_REF)) - has_use_labelref = 1; + { + has_use_labelref = 1; + break; + } if (! has_use_labelref) for (i = len - 1; i >= 0; i--) |