From d3ca5cdd6c49d1d8e1d384db19f82c35c73db194 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Sun, 15 Aug 1999 19:45:38 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/genemit.c | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c43aebfe021..860409905e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 15 12:41:21 1999 Jim Wilson + + * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output + emit call instead of emit_insn call. + Sat Aug 14 15:04:06 1999 Mumit Khan * configure.in: Handle --disable/enable-win32-registry. diff --git a/gcc/genemit.c b/gcc/genemit.c index 7744145074c..516f167a63b 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_OPERATOR - || GET_CODE (next) == MATCH_PARALLEL - || GET_CODE (next) == MATCH_OP_DUP || GET_CODE (next) == MATCH_DUP + || GET_CODE (next) == MATCH_OPERATOR + || GET_CODE (next) == MATCH_OP_DUP + || GET_CODE (next) == MATCH_PARALLEL + || GET_CODE (next) == MATCH_PAR_DUP || GET_CODE (next) == PARALLEL) printf (" emit ("); else