[Bug c++/108488] segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template

2023-01-20 Thread wendellcraigbaker at gmail dot com via Gcc-bugs
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

[Bug c++/108488] segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template

2023-01-20 Thread wendellcraigbaker at gmail dot com via Gcc-bugs
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

[Bug c++/108488] segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template

2023-01-20 Thread wendellcraigbaker at gmail dot com via Gcc-bugs
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

[Bug c++/108488] New: segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template

2023-01-20 Thread wendellcraigbaker at gmail dot com via Gcc-bugs
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