diff options
author | Jim Wilson <wilson@cygnus.com> | 1999-08-15 19:45:38 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1999-08-15 12:45:38 -0700 |
commit | d3ca5cdd6c49d1d8e1d384db19f82c35c73db194 (patch) | |
tree | 6c70ac7a7d855774f6b54267d84cabc65beaec98 /gcc/genemit.c | |
parent | e0942dcd7e556187ad91a0485ae2d82097611bfe (diff) | |
download | gcc-d3ca5cdd6c49d1d8e1d384db19f82c35c73db194.zip gcc-d3ca5cdd6c49d1d8e1d384db19f82c35c73db194.tar.gz gcc-d3ca5cdd6c49d1d8e1d384db19f82c35c73db194.tar.bz2 |
Fix bug preventing use of match_par_dup in a call insn pattern.
* genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
emit call instead of emit_insn call.
From-SVN: r28716
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index 7744145..516f167 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -495,10 +495,11 @@ gen_expand (expand) else if (GET_CODE (next) == CODE_LABEL) printf (" emit_label ("); else if (GET_CODE (next) == MATCH_OPERAND + || GET_CODE (next) == MATCH_DUP || GET_CODE (next) == MATCH_OPERATOR - || GET_CODE (next) == MATCH_PARALLEL || GET_CODE (next) == MATCH_OP_DUP - || GET_CODE (next) == MATCH_DUP + || GET_CODE (next) == MATCH_PARALLEL + || GET_CODE (next) == MATCH_PAR_DUP || GET_CODE (next) == PARALLEL) printf (" emit ("); else |