aboutsummaryrefslogtreecommitdiff
path: root/gcc/genconfig.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-08-21 01:15:15 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-08-21 01:15:15 +0000
commit70b0dcce28f993b2d6fcf7851bc8aadc7b60c38d (patch)
tree148ab7c7f4a32375fc7afc89ae7ea46b5927cd79 /gcc/genconfig.c
parent913b71f183a5e20aa8ad61534593053e096e405d (diff)
downloadgcc-70b0dcce28f993b2d6fcf7851bc8aadc7b60c38d.zip
gcc-70b0dcce28f993b2d6fcf7851bc8aadc7b60c38d.tar.gz
gcc-70b0dcce28f993b2d6fcf7851bc8aadc7b60c38d.tar.bz2
always define HAVE_peephole2
gcc/ChangeLog: 2015-08-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * genconfig.c (main): Always define HAVE_cc0. * recog.c (rest_of_handle_peephole2): Adjust. From-SVN: r227051
Diffstat (limited to 'gcc/genconfig.c')
-rw-r--r--gcc/genconfig.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index acbf381..fc3c1eb 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -372,6 +372,11 @@ main (int argc, char **argv)
printf ("#define HAVE_peephole2 1\n");
printf ("#define MAX_INSNS_PER_PEEP2 %d\n", max_insns_per_peep2);
}
+ else
+ {
+ printf ("#define HAVE_peephole2 0\n");
+ printf ("#define MAX_INSNS_PER_PEEP2 0\n");
+ }
puts ("\n#endif /* GCC_INSN_CONFIG_H */");