This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78890] [5/6/7 Regression] ICE on invalid reference type in union
- From: "rs2740 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Dec 2016 00:11:06 +0000
- Subject: [Bug c++/78890] [5/6/7 Regression] ICE on invalid reference type in union
- Auto-submitted: auto-generated
- References: <bug-78890-4@http.gcc.gnu.org/bugzilla/>
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.