Properly handle asms for stop bit generation
authorBernd Schmidt <bernds@redhat.com>
Thu, 8 Feb 2001 15:23:41 +0000 (15:23 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 8 Feb 2001 15:23:41 +0000 (15:23 +0000)
From-SVN: r39539

gcc/ChangeLog
gcc/config/ia64/ia64.c

index e9100ce5ff67476fce5a9b6f90056155d208b80d..7214014e4594b05f4810a1d04c97383ca67af4af 100644 (file)
@@ -3,6 +3,9 @@
        * final.c (cleanup_subreg_operands): The address of a MEM can
        contain SUBREGs.
 
+       * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
+       for asms, too.
+
 2001-02-08  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * gcc.texi (Incompatibilities): Update documentation of
index 228c9074814300a920d61b6528d88269998bfa23..2eaafc7ca06496d424e362bd6836216b98d6276c 100644 (file)
@@ -5870,6 +5870,8 @@ ia64_variable_issue (dump, sched_verbose, insn, can_issue_more)
        {
          /* This must be some kind of asm.  Clear the scheduling state.  */
          rotate_two_bundles (sched_verbose ? dump : NULL);
+         if (ia64_final_schedule)
+           group_barrier_needed_p (insn);
        }
       return 1;
     }