public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/54908] [4.8 regression] misc regressions on emutls targets remain from dynamic initialization of non-function-local TLS variables
Date: Sat, 19 Jan 2013 05:25:00 -0000	[thread overview]
Message-ID: <bug-54908-4-5FFNuNFZbI@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54908-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-19 05:25:32 UTC ---
Author: jason
Date: Sat Jan 19 05:25:25 2013
New Revision: 195310

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195310
Log:
    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.

Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/c-family/c.opt
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/g++.dg/gomp/tls-wrap3.C
    trunk/gcc/testsuite/g++.dg/tls/thread_local-wrap3.C
    trunk/libgomp/testsuite/libgomp.c++/pr24455.C


  parent reply	other threads:[~2013-01-19  5:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-12 13:02 [Bug target/54908] New: " howarth at nitro dot med.uc.edu
2012-10-12 13:22 ` [Bug target/54908] " howarth at nitro dot med.uc.edu
2012-10-12 15:44 ` howarth at nitro dot med.uc.edu
2012-10-12 15:49 ` howarth at nitro dot med.uc.edu
2012-10-12 18:38 ` jason at gcc dot gnu.org
2012-10-12 18:51 ` dominiq at lps dot ens.fr
2012-10-15  7:32 ` jason at gcc dot gnu.org
2012-10-15  7:43 ` jason at gcc dot gnu.org
2012-10-15 14:08 ` howarth at nitro dot med.uc.edu
2012-10-15 14:24 ` howarth at nitro dot med.uc.edu
2012-10-16 15:51 ` howarth at nitro dot med.uc.edu
2012-12-15  4:16 ` [Bug target/54908] [4.8 regression] " jason at gcc dot gnu.org
2013-01-19  5:25 ` jason at gcc dot gnu.org [this message]
2013-02-01 17:53 ` jason at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-54908-4-5FFNuNFZbI@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).