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/gensupport.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/gensupport.c')
-rw-r--r-- | gcc/gensupport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gensupport.c b/gcc/gensupport.c index 19b92408dc4..c7a27c42617 100644 --- a/gcc/gensupport.c +++ b/gcc/gensupport.c @@ -2178,8 +2178,8 @@ subst_dup (rtx pattern, int n_alt, int n_subst_alt) if (XVEC (pattern, i) == NULL) break; case 'E': - for (j = XVECLEN (pattern, i) - 1; j >= 0; --j) - if (code != MATCH_DUP && code != MATCH_OP_DUP) + if (code != MATCH_DUP && code != MATCH_OP_DUP) + for (j = XVECLEN (pattern, i) - 1; j >= 0; --j) XVECEXP (pattern, i, j) = subst_dup (XVECEXP (pattern, i, j), n_alt, n_subst_alt); break; |