]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/c-decl.c
Makefile.in (libgcc-support, [...]): Add emutls.c.
[thirdparty/gcc.git] / gcc / c-decl.c
index 3bdf70e12bae42ca20aa6ce4567604da415b65ee..648c805828d77a2ed41fcc7cb6d7c09af83bb6af 100644 (file)
@@ -4927,14 +4927,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