aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
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/output.h
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/output.h')
-rw-r--r--gcc/output.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 5d771d7..8215ac2 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -164,6 +164,9 @@ extern void weak_finish (void);
/* Emit any pending emutls declarations and initializations. */
extern void emutls_finish (void);
+/* Return the default TLS model for a given variable. */
+extern enum tls_model decl_default_tls_model (const_tree);
+
/* Decode an `asm' spec for a declaration as a register name.
Return the register number, or -1 if nothing specified,
or -2 if the ASMSPEC is not `cc' or `memory' and is not recognized,