From d347d97ea261357a381e62d32c1e35ed23e814b6 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Wed, 26 May 2010 08:36:49 +0000 Subject: 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 --- gcc/output.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/output.h') 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, -- cgit v1.1