re PR c++/58701 ([c++11] ICE initializing member of static union)
authorJason Merrill <jason@redhat.com>
Tue, 28 Jan 2014 21:04:44 +0000 (16:04 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 28 Jan 2014 21:04:44 +0000 (16:04 -0500)
commit0f59a31da8c70c08f7887139aaf8c9318ba7e130
treecb7bd3a012b69f10ecb3e3142568104dee307fcc
parent3807059e82873de1e5d0b8580b4755be7f90c54b
re PR c++/58701 ([c++11] ICE initializing member of static union)

PR c++/58701
* semantics.c (build_anon_member_initialization): Stop walking
when we run out of COMPONENT_REFs.

From-SVN: r207209
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/nsdmi-union5.C [new file with mode: 0644]