diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-19 05:25:25 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-19 05:25:25 +0000 |
commit | 1c4973d7708d34b68e9ad7d46cd1623ce1609734 (patch) | |
tree | 6f07da7f6452368c46a7fccdd8d5a008127dbe83 /libgomp/testsuite/libgomp.c++ | |
parent | b7fd3d269ebd953bb44b2a46e0a2a30b12b0a505 (diff) | |
download | gcc-1c4973d7708d34b68e9ad7d46cd1623ce1609734.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite/libgomp.c++')
-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 3185ca53055..8256b6693c8 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); |