https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-07 CC| |dmalcolm at gcc dot gnu.org, | |nathan at gcc dot gnu.org Summary|internal compiler error: |[8 Regression] internal |Segmentation fault |compiler error: |(check_local_shadow()) |Segmentation fault | |(check_local_shadow()) Ever confirmed|0 |1 --- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Confirmed with trunk. gcc 7 and 6 show the output quoted above for 5.5.0, with: "confused by earlier errors, bailing out" The trunk ICE is here: Program received signal SIGSEGV, Segmentation fault. check_local_shadow (decl=decl@entry=0x7ffff19d5b48) at ../../src/gcc/cp/name-lookup.c:2682 2682 if (scope->kind == sk_class (gdb) p scope $1 = (cp_binding_level *) 0x0 The segfault started somewhere between r248121 (unaffected) and r248123 (affected), probably r248123, so CCing Nathan. Prior to that, the: "confused by earlier errors, bailing out" comes from this assertion failing in pop_local_binding: 405 gcc_assert (binding->type == decl); masked in release builds by the "confused by earlier errors, bailing out" post-error-ICE-handler. This failure started somewhere between r180695 (unaffected) and r180713 (affected).