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++/78890] [5/6/7 Regression] ICE on invalid reference type in union


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78890

TC <rs2740 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rs2740 at gmail dot com

--- Comment #3 from TC <rs2740 at gmail dot com> ---
[class.union]/3 in the current WP (/2 in N3337/N4140) says (among other
things):

If a union contains a non-static data member of reference type the program is
ill-formed.

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