This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/71694] store-data race with bitfields and tail-padding in C++


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]