Commit c456a45a by Jakub Jelinek Committed by Jakub Jelinek

* decl.c (start_decl): Don't set DECL_COMMON for __thread variables.

From-SVN: r61111
parent 3b1c9927
2003-01-09 Jakub Jelinek <jakub@redhat.com>
* decl.c (start_decl): Don't set DECL_COMMON for __thread variables.
2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
* Make-lang.in (c++.install-common, c++.install-man,
......
......@@ -7177,7 +7177,8 @@ start_decl (tree declarator,
wrong semantics. If we say -fno-conserve-space, we want this to
produce errors about redefs; to do this we force variables into the
data segment. */
DECL_COMMON (tem) = flag_conserve_space || ! TREE_PUBLIC (tem);
DECL_COMMON (tem) = (!DECL_THREAD_LOCAL (tem)
&& (flag_conserve_space || ! TREE_PUBLIC (tem)));
#endif
if (! processing_template_decl)
......
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