Commit ca5dd8b7 by Jakub Jelinek Committed by Jakub Jelinek

* decl.c (start_decl): Only check DECL_THREAD_LOCAL for VAR_DECLs.

From-SVN: r61121
parent 97488870
2003-01-09 Jakub Jelinek <jakub@redhat.com>
* decl.c (start_decl): Only check DECL_THREAD_LOCAL for VAR_DECLs.
2003-01-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> 2003-01-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* pt.c (push_access_scope_real): Call push_to_top_level for * pt.c (push_access_scope_real): Call push_to_top_level for
......
...@@ -7177,7 +7177,8 @@ start_decl (tree declarator, ...@@ -7177,7 +7177,8 @@ start_decl (tree declarator,
wrong semantics. If we say -fno-conserve-space, we want this to wrong semantics. If we say -fno-conserve-space, we want this to
produce errors about redefs; to do this we force variables into the produce errors about redefs; to do this we force variables into the
data segment. */ data segment. */
DECL_COMMON (tem) = (!DECL_THREAD_LOCAL (tem) DECL_COMMON (tem) = ((TREE_CODE (tem) != VAR_DECL
|| !DECL_THREAD_LOCAL (tem))
&& (flag_conserve_space || ! TREE_PUBLIC (tem))); && (flag_conserve_space || ! TREE_PUBLIC (tem)));
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment