re PR target/16445 (Gcc 3.4 ICE on valid code)

2004-07-12  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/16445
	* config/ia64/ia64.c (bundling): Don't count ignored insns.

From-SVN: r84580
This commit is contained in:
Vladimir Makarov 2004-07-12 22:20:38 +00:00 committed by Vladimir Makarov
parent cdc3ddb81c
commit 52b754e8fc
2 changed files with 8 additions and 1 deletions

View 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

View File

@ -7211,7 +7211,9 @@ bundling (FILE *dump, int verbose, rtx prev_head_insn, rtx tail)
= 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,