https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970
Bug ID: 94970 Summary: d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Reduced test also seen on version 9.2.1. With -fno-checking, the ICE instead happens in lower_stmt, at gimple-low.c:409. struct RegexMatch { static @property m() { return RegexMatch(); } string opIndex(size_t) { return null; } ~this() { } } void initCommands() { auto a = RegexMatch.m[1] ~ ' '; }