aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index f9e1b27..863bfd4 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -20,15 +20,23 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_RTL_H
#define GCC_RTL_H
+/* This file is occasionally included by generator files which expect
+ machmode.h and other files to exist and would not normally have been
+ included by coretypes.h. */
+#ifdef GENERATOR_FILE
+#include "machmode.h"
+#include "signop.h"
+#include "wide-int.h"
+#include "double-int.h"
+#include "real.h"
+#include "fixed-value.h"
+#endif /* GENERATOR_FILE */
+
#include "statistics.h"
-#include "machmode.h"
#include "input.h"
-#include "real.h"
#include "vec.h"
-#include "fixed-value.h"
#include "alias.h"
#include "hashtab.h"
-#include "wide-int.h"
#include "flags.h"
#include "is-a.h"