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 /gcc/gcse.c | |
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
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |