From: Vladimir Makarov Date: Mon, 12 Jul 2004 22:20:38 +0000 (+0000) Subject: re PR target/16445 (Gcc 3.4 ICE on valid code) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52b754e8fcc6a7391f5202ff37f5dfa412057d77;p=gcc.git re PR target/16445 (Gcc 3.4 ICE on valid code) 2004-07-12 Vladimir Makarov PR target/16445 * config/ia64/ia64.c (bundling): Don't count ignored insns. From-SVN: r84580 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54541ef236b..226abd4b29b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-12 Vladimir Makarov + + PR target/16445 + * config/ia64/ia64.c (bundling): Don't count ignored insns. + 2004-07-12 Richard Henderson * target.h (struct gcc_target): Move gimplify_va_arg_expr diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index fdebfba19cd..88c50874b2d 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -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,