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.

Reply via email to