https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108488
--- Comment #3 from Wendell Baker ---
Created attachment 54324
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54324&action=edit
shell script and C++ to demonstrate with and in
combination
This happens in real life with the confluence of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108488
--- Comment #2 from Wendell Baker ---
Created attachment 54322
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54322&action=edit
exhibited output of run.sh showing the segfault with and without -fmodules-ts
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108488
--- Comment #1 from Wendell Baker ---
Created attachment 54321
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54321&action=edit
run cc1plus to echigit the problem
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108488
Bug ID: 108488
Summary: segfault with -fmodules-ts and class-scope friend
declaration first in uninstantiated template
Product: gcc
Version: 12.2.1
Status: UNCONFIRMED