[Bug c++/78890] [5/6/7 Regression] ICE on invalid reference type in union

rs2740 at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 30 00:11:00 GMT 2016


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.


More information about the Gcc-bugs mailing list