diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-08-21 01:14:59 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-08-21 01:14:59 +0000 |
commit | 913b71f183a5e20aa8ad61534593053e096e405d (patch) | |
tree | 1ad11b5be857c590795e4e70b426a9fd07f93184 /gcc/reorg.c | |
parent | e1f60ccfab4f48ee996cf11f80b8baeee371def8 (diff) | |
download | gcc-913b71f183a5e20aa8ad61534593053e096e405d.zip gcc-913b71f183a5e20aa8ad61534593053e096e405d.tar.gz gcc-913b71f183a5e20aa8ad61534593053e096e405d.tar.bz2 |
remove another #if for HAVE_cc0
gcc/ChangeLog:
2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* reorg.c (relax_delay_slots): Don't use #if to check value of
HAVE_cc0.
From-SVN: r227050
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 1c60e13..cdaa60c 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3445,15 +3445,13 @@ relax_delay_slots (rtx_insn *first) && ! condjump_in_parallel_p (delay_jump_insn) && prev_active_insn (target_label) == insn && ! BARRIER_P (prev_nonnote_insn (target_label)) -#if HAVE_cc0 /* If the last insn in the delay slot sets CC0 for some insn, various code assumes that it is in a delay slot. We could put it back where it belonged and delete the register notes, but it doesn't seem worthwhile in this uncommon case. */ - && ! find_reg_note (XVECEXP (pat, 0, XVECLEN (pat, 0) - 1), - REG_CC_USER, NULL_RTX) -#endif - ) + && (!HAVE_cc0 + || ! find_reg_note (XVECEXP (pat, 0, XVECLEN (pat, 0) - 1), + REG_CC_USER, NULL_RTX))) { rtx_insn *after; int i; |