This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/64265] [5 Regression] r217669 broke tsan
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Dec 2014 21:23:02 +0000
- Subject: [Bug sanitizer/64265] [5 Regression] r217669 broke tsan
- Auto-submitted: auto-generated
- References: <bug-64265-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64265
--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
FYI, the #c12 patch needs more work, in particular the inliner probably has to
drop the TSAN_FUNC_EXIT () internal calls, otherwise after inlining there can
be multiple of them which is undesirable, as tsan supposedly doesn't care about
inline functions. And on the other side, when e.g. OpenMP outlines some SESE
region into a new function, we probably need to add TSAN_FUNC_EXIT () there.