OSDN Git Service

2004-07-12 Vladimir Makarov <vmakarov@redhat.com>
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jul 2004 22:20:38 +0000 (22:20 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jul 2004 22:20:38 +0000 (22:20 +0000)
PR target/16445
* config/ia64/ia64.c (bundling): Don't count ignored insns.

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

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

index 54541ef..226abd4 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-12  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR target/16445
+       * config/ia64/ia64.c (bundling): Don't count ignored insns.
+
 2004-07-12  Richard Henderson  <rth@redhat.com>
 
        * target.h (struct gcc_target): Move gimplify_va_arg_expr
 2004-07-12  Richard Henderson  <rth@redhat.com>
 
        * target.h (struct gcc_target): Move gimplify_va_arg_expr
index fdebfba..88c5087 100644 (file)
@@ -7211,7 +7211,9 @@ bundling (FILE *dump, int verbose, rtx prev_head_insn, rtx tail)
                      = gen_bundle_selector (const2_rtx); /* -> MFI */
                  break;
                }
                      = gen_bundle_selector (const2_rtx); /* -> MFI */
                  break;
                }
-             else if (recog_memoized (last) != CODE_FOR_insn_group_barrier)
+             else if (recog_memoized (last) != CODE_FOR_insn_group_barrier
+                      && (ia64_safe_itanium_class (last)
+                          != ITANIUM_CLASS_IGNORE))
                n++;
            /* Some check of correctness: the stop is not at the
               bundle start, there are no more 3 insns in the bundle,
                n++;
            /* Some check of correctness: the stop is not at the
               bundle start, there are no more 3 insns in the bundle,