------- 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

Reply via email to