public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/110261] New: vec.h mentions C++03 requirement for PODs and with respect to unions
@ 2023-06-14 23:28 pinskia at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: pinskia at gcc dot gnu.org @ 2023-06-14 23:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110261
Bug ID: 110261
Summary: vec.h mentions C++03 requirement for PODs and with
respect to unions
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: internal-improvement
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Since GCC is now written in C++11 (since GCC 11, r11-462-g5329b59a2e13dabbe2),
the comment in vec.h:
As long as we use C++03, we cannot have constructors nor
destructors in classes that are stored in unions. */
No longer applies.
I have not tested using a non-POD with vec yet but I just wanted to record this
here for future reference and for others when some one finally notices this and
decides to test it.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-14 23:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-14 23:28 [Bug middle-end/110261] New: vec.h mentions C++03 requirement for PODs and with respect to unions pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).