]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack as a TYPE_LEA insn.
authorRichard Henderson <rth@gcc.gnu.org>
Sun, 6 Feb 2000 09:47:28 +0000 (01:47 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 6 Feb 2000 09:47:28 +0000 (01:47 -0800)
        * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
        as a TYPE_LEA insn.

From-SVN: r31821

gcc/config/i386/i386.c

index 20f55b1ba258e00d1ed579708103449a240f72a0..82c0f07908c87ffca89326c508cb9564ad188f24 100644 (file)
@@ -5924,7 +5924,17 @@ ix86_agi_dependant (insn, dep_insn, insn_type)
   rtx addr;
 
   if (insn_type == TYPE_LEA)
-    addr = SET_SRC (single_set (insn));
+    {
+      addr = PATTERN (insn);
+      if (GET_CODE (addr) == SET)
+       ;
+      else if (GET_CODE (addr) == PARALLEL
+              && GET_CODE (XVECEXP (addr, 0, 0)) == SET)
+       addr = XVECEXP (addr, 0, 0);
+      else
+       abort ();
+      addr = SET_SRC (addr);
+    }
   else
     {
       int i;