[Bug gcov-profile/58127] [4.9 Regression] 37 failures in gcc.dg/tree-prof/ for x86_64-apple-darwin10

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 17 20:24:00 GMT 2013


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

--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #4)
> The secret plan was to not use TLS for emutls.

OK - I'll take a look at what should be used for the test...

> There seems to be macro USE_EMUTLS specifying if we have real TLS or emuTLS.
> 
> I am not sure what of the two tests passes.  Perhaps it will help to replace
> #ifdef HAVE_CC_TLS
> __thread
> #endif
> #if defined(HAVE_CC_TLS) && !defined (USE_EMUTLS)
> __thread
> #endif

... seems plausible, will try it on my next build cycle.

BTW, I wonder what it would take to make it work with emutls?



More information about the Gcc-bugs mailing list