[Bug sanitizer/78294] -fsanitize=thread broken
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 15 17:54:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78294
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2016-11-15
Resolution|INVALID |---
Ever confirmed|0 |1
--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
As Cary pointed out in the sourceware gold bug, it only worked by
luck, because ld.bfd made an invalid optimization.
Apparently the __attribute__((tls_model("initial-exec"))) doesn't get
propagated correctly by the inliner.
More information about the Gcc-bugs
mailing list