OSDN Git Service

Fix bug preventing use of match_par_dup in a call insn pattern.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Aug 1999 19:45:38 +0000 (19:45 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Aug 1999 19:45:38 +0000 (19:45 +0000)
* genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
emit call instead of emit_insn call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28716 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/genemit.c

index c43aebf..8604099 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
+
+       * 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  <khan@xraylith.wisc.edu>
 
        * configure.in: Handle --disable/enable-win32-registry.
index 7744145..516f167 100644 (file)
@@ -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