]> git.pld-linux.org Git - packages/gcc.git/blobdiff - gcc32-tls3.patch
- added temporary hack for alpha
[packages/gcc.git] / gcc32-tls3.patch
index aec74c9a3bdf4f2c8890d124314e4cd6490089b7..17cd7cd62e28340cc0d7f37b8b2d224a844c5139 100644 (file)
@@ -8,10 +8,10 @@
 *** gcc/c-decl.c       1 Aug 2002 06:20:30 -0000       1.344
 --- gcc/c-decl.c       7 Aug 2002 01:01:55 -0000
 *************** duplicate_decls (newdecl, olddecl, diffe
-*** 1400,1405 ****
---- 1400,1419 ----
-       }
-        error_with_decl (olddecl, "previous declaration of `%s'");
+*** 1673,1678 ****
+--- 1673,1692 ----
+        if (TREE_CODE (newdecl) == VAR_DECL)
+       DECL_INITIAL (newdecl) = 0;
       }
 +   /* TLS cannot follow non-TLS declaration.  */
 +   else if (TREE_CODE (olddecl) == VAR_DECL && TREE_CODE (newdecl) == VAR_DECL
This page took 0.029643 seconds and 4 git commands to generate.