diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2004-07-12 22:20:38 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2004-07-12 22:20:38 +0000 |
commit | 52b754e8fcc6a7391f5202ff37f5dfa412057d77 (patch) | |
tree | 18df0da5926ac135f63a1ad2e01b7ca1bede8b55 /gcc | |
parent | cdc3ddb81c47013a85e2243a1b1df2c99dd484b7 (diff) | |
download | gcc-52b754e8fcc6a7391f5202ff37f5dfa412057d77.zip gcc-52b754e8fcc6a7391f5202ff37f5dfa412057d77.tar.gz gcc-52b754e8fcc6a7391f5202ff37f5dfa412057d77.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54541ef..226abd4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index fdebfba..88c5087 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, |