https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84651
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-03-01
CC| |dmalcolm at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Confirmed. Started between r190000 (no ICE) and r190022 (ICE).
Failed assertion here:
#1 0x00000000009a1467 in pop_local_binding (id=<identifier_node 0x7ffff1a1c000
b>, decl=<type_decl 0x7ffff19d5850 b>)
at ../../src/gcc/cp/name-lookup.c:2062
2062 gcc_assert (binding != NULL);
(gdb) list
2057
2058 /* Get the innermost binding for ID. */
2059 binding = IDENTIFIER_BINDING (id);
2060
2061 /* The name should be bound. */
2062 gcc_assert (binding != NULL);
2063
2064 /* The DECL will be either the ordinary binding or the type
2065 binding for this identifier. Remove that binding. */
2066 if (binding->value == decl)
Trunk (with checking enabled) fails with assertion failure; 7, 6, and 5 handle
it via the "confused by earlier errors, bailing out" ICE-handler.