]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PR c++/84962] ICE with anon-struct member
authorNathan Sidwell <nathan@acm.org>
Tue, 20 Mar 2018 16:01:08 +0000 (16:01 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 20 Mar 2018 16:01:08 +0000 (16:01 +0000)
commit6f87580f7d0726d9683ca0f4a703a857f06f00d5
tree43d5d82e71d5996f0efb9273f8c4a2ac482b8726
parent5770bbac66da20acd60a488430dff494db6606b4
[PR c++/84962] ICE with anon-struct member

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00961.html
PR c++/84962
* name-lookup.c (pushdecl_class_level): Push anon-struct's
member_vec, if there is one.

PR c++/84962
* g++.dg/lookup/pr84962.C: New.

From-SVN: r258686
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr84962.C [new file with mode: 0644]