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

Reply via email to