diff options
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index cbd356f..fd20078 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -4804,14 +4804,7 @@ grokdeclarator (const struct c_declarator *declarator, } if (threadp) - { - if (targetm.have_tls) - DECL_TLS_MODEL (decl) = decl_default_tls_model (decl); - else - /* A mere warning is sure to result in improper semantics - at runtime. Don't bother to allow this to compile. */ - error ("thread-local storage not supported for this target"); - } + DECL_TLS_MODEL (decl) = decl_default_tls_model (decl); } if (storage_class == csc_extern |