https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90660
Bug ID: 90660 Summary: ICE in TypeQualified::resolveHelper, at d/dmd/mtype.c:6738 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: gs...@t-online.de Target Milestone: --- $ cat z1.d struct S { mixin a.b; enum {a} } $ gdc-10-20190526 -c z1.d d21: internal compiler error: Segmentation fault 0xb7057f crash_signal ../../gcc/toplev.c:326 0x6faaf3 TypeQualified::resolveHelper(Loc, Scope*, Dsymbol*, Dsymbol*, Expression**, Type**, Dsymbol**, bool) ../../gcc/d/dmd/mtype.c:6738 0x6fb3aa TypeIdentifier::resolve(Loc, Scope*, Expression**, Type**, Dsymbol**, bool) ../../gcc/d/dmd/mtype.c:6962 0x688486 TemplateMixin::findTempDecl(Scope*) ../../gcc/d/dmd/dtemplate.c:8203 0x68a894 TemplateMixin::semantic(Scope*) ../../gcc/d/dmd/dtemplate.c:8295 0x67735f StructDeclaration::semantic(Scope*) ../../gcc/d/dmd/dstruct.c:1118 0x66b708 Module::semantic(Scope*) ../../gcc/d/dmd/dmodule.c:747 0x7665f5 d_parse_file() ../../gcc/d/d-lang.cc:1153