diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-04-22 00:44:37 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-04-22 00:44:37 +0000 |
commit | 058eb3b07a057f208d379aa72ecc06f775e4bf9d (patch) | |
tree | 10084d55f5fd868d958de40b14d205b2dd6521aa /gcc/cse.c | |
parent | f1e52ed6b2a91ff953156a63a5c4af70e17fb6a8 (diff) | |
download | gcc-058eb3b07a057f208d379aa72ecc06f775e4bf9d.zip gcc-058eb3b07a057f208d379aa72ecc06f775e4bf9d.tar.gz gcc-058eb3b07a057f208d379aa72ecc06f775e4bf9d.tar.bz2 |
make some HAVE_cc0 code always compiled
gcc/ChangeLog:
2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* cfgrtl.c (rtl_merge_blocks): Change #if HAVE_cc0 to if (HAVE_cc0)
(try_redirect_by_replacing_jump): Likewise.
(rtl_tidy_fallthru_edge): Likewise.
* combine.c (insn_a_feeds_b): Likewise.
(find_split_point): Likewise.
(simplify_set): Likewise.
* cprop.c (cprop_jump): Likewise.
* cse.c (cse_extended_basic_block): Likewise.
* df-problems.c (can_move_insns_across): Likewise.
* function.c (emit_use_return_register_into_block): Likewise.
* haifa-sched.c (sched_init): Likewise.
* ira.c (find_moveable_pseudos): Likewise.
* loop-invariant.c (find_invariant_insn): Likewise.
* lra-constraints.c (curr_insn_transform): Likewise.
* postreload.c (reload_combine_recognize_const_pattern):
* Likewise.
* reload.c (find_reloads): Likewise.
* reorg.c (delete_scheduled_jump): Likewise.
(steal_delay_list_from_target): Likewise.
(steal_delay_list_from_fallthrough): Likewise.
(redundant_insn): Likewise.
(fill_simple_delay_slots): Likewise.
(fill_slots_from_thread): Likewise.
(delete_computation): Likewise.
* sched-rgn.c (add_branch_dependences): Likewise.
From-SVN: r222297
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -6524,8 +6524,7 @@ cse_extended_basic_block (struct cse_basic_block_data *ebb_data) && check_for_label_ref (insn)) recorded_label_ref = true; -#if HAVE_cc0 - if (NONDEBUG_INSN_P (insn)) + if (HAVE_cc0 && NONDEBUG_INSN_P (insn)) { /* If the previous insn sets CC0 and this insn no longer references CC0, delete the previous insn. @@ -6552,7 +6551,6 @@ cse_extended_basic_block (struct cse_basic_block_data *ebb_data) prev_insn_cc0_mode = this_insn_cc0_mode; } } -#endif } } |