[Bug c++/89511] [7/8 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #14 from Marek Polacek --- Fixed for 8.4.
[Bug c++/89511] [7/8 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511 --- Comment #13 from Marek Polacek --- Author: mpolacek Date: Tue May 7 16:26:38 2019 New Revision: 270972 URL: https://gcc.gnu.org/viewcvs?rev=270972&root=gcc&view=rev Log: PR c++/89511 - ICE with using-declaration and unscoped enumerator. * parser.c (cp_parser_using_declaration): For an unscoped enum only use its context if it's not a function declaration. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/using-enum-3.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/parser.c
[Bug c++/89511] [7/8 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511 Marek Polacek changed: What|Removed |Added Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in |push_using_decl_1, at |push_using_decl_1, at |cp/name-lookup.c:3845 |cp/name-lookup.c:3845 --- Comment #12 from Marek Polacek --- Fixed on trunk so far.