[Bug c++/84962] [8 Regression] ICE in get_fns, at cp/tree.c:2505
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 20 16:01:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84962
--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Mar 20 16:01:08 2018
New Revision: 258686
URL: https://gcc.gnu.org/viewcvs?rev=258686&root=gcc&view=rev
Log:
[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.
Added:
trunk/gcc/testsuite/g++.dg/lookup/pr84962.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list