https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126794
Bug ID: 126794
Summary: [reflection] ICE in splice of member access via an
incomplete base class
Product: gcc
Version: 16.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: skarnproject at gmail dot com
Target Milestone: ---
Splicing a non-static data member that is declared in a base class, where the
object expression has a type that is itself a splice of a class-template
specialization, segfaults the compiler.
https://godbolt.org/z/Gd7Pr8naj
The example on Godbolt says it all.