diff options
author | Jason Merrill <jason@redhat.com> | 2013-01-19 00:25:25 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2013-01-19 00:25:25 -0500 |
commit | 5af057d8bd6b7a7972f3f6d53673920dd8be3cfd (patch) | |
tree | 6f07da7f6452368c46a7fccdd8d5a008127dbe83 /libgomp | |
parent | fd36469e79bc0ee1fefb3d0f6a1758293f7222e0 (diff) | |
download | gcc-5af057d8bd6b7a7972f3f6d53673920dd8be3cfd.zip gcc-5af057d8bd6b7a7972f3f6d53673920dd8be3cfd.tar.gz gcc-5af057d8bd6b7a7972f3f6d53673920dd8be3cfd.tar.bz2 |
re PR target/54908 (misc regressions on emutls targets remain from dynamic initialization of non-function-local TLS variables)
PR target/54908
c-family/
* c.opt (-fextern-tls-init): New.
* c-opts.c (c_common_post_options): Handle it.
cp/
* decl2.c (get_local_tls_init_fn): New.
(get_tls_init_fn): Handle flag_extern_tls_init. Don't bother
with aliases for internal variables. Don't use weakrefs if
the variable needs destruction.
(generate_tls_wrapper): Mark the wrapper as const if no
initialization is needed.
(handle_tls_init): Don't require aliases.
From-SVN: r195310
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/testsuite/libgomp.c++/pr24455.C | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgomp/testsuite/libgomp.c++/pr24455.C b/libgomp/testsuite/libgomp.c++/pr24455.C index 3185ca5..8256b66 100644 --- a/libgomp/testsuite/libgomp.c++/pr24455.C +++ b/libgomp/testsuite/libgomp.c++/pr24455.C @@ -1,8 +1,7 @@ // { dg-do run } // { dg-additional-sources pr24455-1.C } // { dg-require-effective-target tls_runtime } -// { dg-options "-Wl,-G" { target powerpc-ibm-aix* } } -// { dg-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } +// { dg-options "-fno-extern-tls-init" } extern "C" void abort (void); |