diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-07 22:03:27 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-07 22:03:27 +0000 |
commit | 0605fce2f8ccd3e8e53f40b19c795b7c1e2696bc (patch) | |
tree | 0f8a7e342b92206077e616b3ba655af9489aa3c1 /gcc/genextract.c | |
parent | 2594daf730036efc83c9ed5ebaacf003bee3eda3 (diff) | |
download | gcc-0605fce2f8ccd3e8e53f40b19c795b7c1e2696bc.tar.gz |
* genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
and MATCH_OP_DUP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50412 138bc75d-0d04-0410-961f-82ee72b054a4
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); |