This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71694] store-data race with bitfields and tail-padding in C++
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Jun 2016 12:05:42 +0000
- Subject: [Bug c++/71694] store-data race with bitfields and tail-padding in C++
- Auto-submitted: auto-generated
- References: <bug-71694-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71694
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The C++ FE identifies such types with
CLASSTYPE_NON_LAYOUT_POD_P (t) || CLASSTYPE_EMPTY_P (t)
where only CLASSTYPE_NON_LAYOUT_POD_P is interesting to us. Only available
in struct lang_type. Possibly able to expose that via a new langhook.