diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcse.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e1d248..0ae22cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-26 Alan Modra <amodra@bigpond.net.au> + + * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter + unless HAVE_cc0. + 2004-02-25 Richard Henderson <rth@redhat.com> * explow.c (force_reg): Call mark_reg_pointer as appropriate. @@ -6069,8 +6069,10 @@ delete_null_pointer_checks_1 (unsigned int *block_reg, sbitmap *nonnull_avin, something_changed = 1; delete_insn (last_insn); +#ifdef HAVE_cc0 if (compare_and_branch == 2) delete_insn (earliest); +#endif purge_dead_edges (bb); /* Don't check this block again. (Note that BB_END is |