summaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-09 16:27:14 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-09 16:27:14 +0000
commit5c3667a19751f3f0b11b07c3712b152a70c650ba (patch)
tree3b365f54da686b951378eabd14acdaf98bd0eb15 /gcc/c-parser.c
parentbd09cd3e0a1b43658bb0d2169721ff2b3e95ea0e (diff)
downloadgcc-5c3667a19751f3f0b11b07c3712b152a70c650ba.tar.gz
Revert emutls patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117578 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parser.c')
-rw-r--r--gcc/c-parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-parser.c b/gcc/c-parser.c
index f4b08919700..85202539283 100644
--- a/gcc/c-parser.c
+++ b/gcc/c-parser.c
@@ -7801,6 +7801,9 @@ c_parser_omp_threadprivate (c_parser *parser)
c_parser_consume_pragma (parser);
vars = c_parser_omp_var_list_parens (parser, 0, NULL);
+ if (!targetm.have_tls)
+ sorry ("threadprivate variables not supported in this target");
+
/* Mark every variable in VARS to be assigned thread local storage. */
for (t = vars; t; t = TREE_CHAIN (t))
{