[Bug middle-end/78294] [5/6/7 Regression] -fsanitize=thread broken by ignoring __attribute__((tls_model("initial-exec")))
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 16 07:02:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78294
--- Comment #17 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Dmitry Vyukov from comment #16)
> So is it a bug in gcc or in tsan runtime?
> I thought that an attribute attached to a definition must affect declaration
> as well.
Yes, I would say it is a bug in gcc.
(The tsan_rtl.cc patch just allows one to build tsan with gold).
More information about the Gcc-bugs
mailing list