* final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Oct 2003 19:13:04 +0000 (19:13 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Oct 2003 19:13:04 +0000 (19:13 +0000)
as well.

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

gcc/ChangeLog
gcc/final.c

index 17ffdb6..cbd4be7 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       * final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns
+       as well.
+
 2003-10-18  Richard Sandiford  <rsandifo@redhat.com>
 
        * rtl.h (rtl_size): Declare.
index 423c734..20ceff8 100644 (file)
@@ -2054,6 +2054,10 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
            insn_noperands = noperands;
            this_is_asm_operands = insn;
 
+#ifdef FINAL_PRESCAN_INSN
+           FINAL_PRESCAN_INSN (insn, ops, insn_noperands);
+#endif
+
            /* Output the insn using them.  */
            if (string[0])
              {