diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-05-22 01:04:24 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-05-22 01:04:24 +0000 |
commit | d87834de87432d0ad05ca62ffcd68aba34bc0bc8 (patch) | |
tree | b9b8f8180fd4a7b71093a8572091026d66805bbf /gcc/final.c | |
parent | 692e031294569fc76371c9eda58f01cce1716c22 (diff) | |
download | gcc-d87834de87432d0ad05ca62ffcd68aba34bc0bc8.zip gcc-d87834de87432d0ad05ca62ffcd68aba34bc0bc8.tar.gz gcc-d87834de87432d0ad05ca62ffcd68aba34bc0bc8.tar.bz2 |
always define HAVE_peephole
gcc/ChangeLog:
2015-05-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* final.c (final_scan_insn): Don't check HAVE_peephole with the
preprocessor.
* output.h: Likewise.
* genconfig.c (main): Alwways define HAVE_peephole.
* genpeep.c: Don't emit checks of HAVE_peephole.
From-SVN: r223519
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/final.c b/gcc/final.c index f0585ca..c8f059b 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -2905,10 +2905,9 @@ final_scan_insn (rtx_insn *insn, FILE *file, int optimize_p ATTRIBUTE_UNUSED, #endif -#ifdef HAVE_peephole /* Do machine-specific peephole optimizations if desired. */ - if (optimize_p && !flag_no_peephole && !nopeepholes) + if (HAVE_peephole && optimize_p && !flag_no_peephole && !nopeepholes) { rtx_insn *next = peephole (insn); /* When peepholing, if there were notes within the peephole, @@ -2937,7 +2936,6 @@ final_scan_insn (rtx_insn *insn, FILE *file, int optimize_p ATTRIBUTE_UNUSED, /* PEEPHOLE might have changed this. */ body = PATTERN (insn); } -#endif /* Try to recognize the instruction. If successful, verify that the operands satisfy the |