aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2010-05-26 08:36:49 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2010-05-26 08:36:49 +0000
commitd347d97ea261357a381e62d32c1e35ed23e814b6 (patch)
treee11e13901373226e99641b2d3c18bf32c2d5242e /gcc/c-common.c
parent0d65bdbb703d5da86f2987aadd735049db9c2af0 (diff)
downloadgcc-d347d97ea261357a381e62d32c1e35ed23e814b6.zip
gcc-d347d97ea261357a381e62d32c1e35ed23e814b6.tar.gz
gcc-d347d97ea261357a381e62d32c1e35ed23e814b6.tar.bz2
rtl.h (decl_default_tls_model): Move prototype from here...
gcc/ChangeLog: * rtl.h (decl_default_tls_model): Move prototype from here... * output.h: ...to here. * c-decl.c: Do not include rtl.h. * c-pragma.c: Likewise. * c-parser.c: Likewise. * c-gimplify.c: Likewise. And also not hard-reg-set. * c-common.c: Do not include rtl.h. Include tm_p.h and add a FIXME note for it. Add a FIXME note for expr.h. * config/i386/i386-protos.h (ix86_enum_va_list, ix86_fn_abi_va_list, ix86_canonical_va_list_type): Make visible even if RTX_CODE is not defined. cp/ChangeLog: * decl.c: Do not include rtl.h * semantics.c: Likewise. ada/ChangeLog: * gcc-interface/utils.c: Do not include rtl.h. fortran/ChangeLog: * trans-common.c: Do not include rtl.h, include output.h instead. * trans-decl.c: Likewise. From-SVN: r159856
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 6a5315b..04b2909 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -28,9 +28,7 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "output.h"
#include "c-pragma.h"
-#include "rtl.h"
#include "ggc.h"
-#include "expr.h" /* For vector_mode_valid_p */
#include "c-common.h"
#include "tm_p.h"
#include "obstack.h"
@@ -49,6 +47,14 @@ along with GCC; see the file COPYING3. If not see
#include "target-def.h"
#include "libfuncs.h"
+/* FIXME: Still need to include rtl.h here (via expr.h) in a front-end file.
+ Pretend this is a back-end file. */
+#define IN_GCC_BACKEND
+#include "expr.h" /* For vector_mode_valid_p */
+
+/* FIXME: Needed for TARGET_ENUM_VA_LIST, which should be a target hook. */
+#include "tm_p.h"
+
cpp_reader *parse_in; /* Declared in c-pragma.h. */
/* The following symbols are subsumed in the c_global_trees array, and