This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2010 13:49:26 -0000
- Subject: [Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.
- References: <bug-44132-19002@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from hubicka at ucw dot cz 2010-05-15 13:49 -------
Subject: Re: [4.6 Regression] emutls is broken under a
range of circumstances.
> I guess, otherwise, we have to intercept every circumstance where a __thread
> var might be used .. and interpose the exchange.
Hmm, does combination of PRESERVE hack and the gimplifier change gets the
testsuite
clean and both LTO/WHOR working?
You can construct a testcase where you have two source units both having thread
local
variables with uses all intlined into main(). This is case where I think the
DECL_PRESERVE hack should fall appart.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44132