diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2002-03-07 22:03:27 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2002-03-07 22:03:27 +0000 |
commit | 6d7a1c4c78aa070a4017b28e6e46f0a335d461dc (patch) | |
tree | 0f8a7e342b92206077e616b3ba655af9489aa3c1 /gcc/genextract.c | |
parent | d3e1c36d082420f32e39fa8d61c9c5f321113182 (diff) | |
download | gcc-6d7a1c4c78aa070a4017b28e6e46f0a335d461dc.tar.gz |
genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
* genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
and MATCH_OP_DUP.
From-SVN: r50412
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r-- | gcc/genextract.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c index 72e3e56e449..d52fc36f2d0 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -210,12 +210,12 @@ walk_rtx (x, path) break; case MATCH_DUP: - case MATCH_PAR_DUP: duplocs[dup_count] = xstrdup (path); dupnums[dup_count] = XINT (x, 0); dup_count++; break; + case MATCH_PAR_DUP: case MATCH_OP_DUP: duplocs[dup_count] = xstrdup (path); dupnums[dup_count] = XINT (x, 0); @@ -227,7 +227,7 @@ walk_rtx (x, path) for (i = XVECLEN (x, 1) - 1; i >= 0; i--) { - newpath[depth] = '0' + i; + newpath[depth] = (code == MATCH_OP_DUP ? '0' : 'a') + i; walk_rtx (XVECEXP (x, 1, i), newpath); } free (newpath); |