https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124614
Bug ID: 124614
Summary: Internal compiler error using reflection, in
tsubst_splice_expr
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jstracke at ocient dot com
Target Milestone: ---
I'm experimenting with C++26 reflection, and getting an internal compiler
error. The attached file was generated by -freport-bug. I'm attempting to do a
splice of the form `j.[:jmember:]`.
I'm pretty sure I'm doing it wrong, because clang gives me an error message;
but I imagine you'll want to fix the crash anyway. You can see the clang error
message at Compiler Explorer: https://godbolt.org/z/6coh5doE5
The error was generated with gcc trunk, git hash
569ace1fa50f759556534ca5b925e0642a8404ca; the options used are in the attached
file. The operating system is Ubuntu 24.04.03.
Thanks!