aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog1
-rw-r--r--gcc/genpeep.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dd5b1ec..70d9834 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -3,6 +3,7 @@
* genpreds.c (write_tm_constrs_h): Delete variable p.
* genconditions.c (write_header): Add tm-constrs.h to included
headers.
+ * genpeep.c (main): Add toplev.h to included headers.
* Makefile.in (build/gencondmd.o): Add tm-constrs.h dependency.
* config/rs6000/constraints.md: Add "W" constraint.
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index 5c5804b..80ce3f1 100644
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -378,6 +378,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"recog.h\"\n");
printf ("#include \"except.h\"\n");
printf ("#include \"function.h\"\n");
+ printf ("#include \"toplev.h\"\n");
printf ("#include \"tm-constrs.h\"\n\n");
printf ("#ifdef HAVE_peephole\n");