diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-02-26 03:21:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2004-02-26 13:51:15 +1030 |
commit | fb643f644219601f40bbbb52ea5727d537da92e3 (patch) | |
tree | 04745142f7bd054c8a56a589c003b7664faaf9b4 | |
parent | 90f6987a6dde77e9591ecaae5adc1ea05818b039 (diff) | |
download | gcc-fb643f644219601f40bbbb52ea5727d537da92e3.zip gcc-fb643f644219601f40bbbb52ea5727d537da92e3.tar.gz gcc-fb643f644219601f40bbbb52ea5727d537da92e3.tar.bz2 |
gcse.c (delete_null_pointer_checks_1): Do not delete CC setter unless HAVE_cc0.
* gcse.c (delete_null_pointer_checks_1): Do not delete CC setter
unless HAVE_cc0.
From-SVN: r78484
-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 |