https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107191
--- Comment #2 from Bruce Adams ---
Also tried with gcc 12.1
>g++-12 --version
g++-12 (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0
```
/usr/bin/g++-12 -fmodules-ts -std=gnu++20 -MD -MT
CMakeFiles/gccice.dir/Foo.cpp.o -MF CMakeFiles/gccice.dir/Foo.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107192
--- Comment #1 from Bruce Adams ---
Still occurs if I use gcc 12.1
>g++-12 --version
g++-12 (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0
```
[ 50%] Building CXX object CMakeFiles/gccice.dir/Bar.cpp.o
/usr/bin/g++-12 -fmodules-ts -std=gnu++20 -MD -M
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107191
--- Comment #1 from Bruce Adams ---
I also produced a different segfault while trying to reproduce this - see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107192
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107192
Bug ID: 107192
Summary: [modules] internal compiler error: Segmentation fault
parsing line "module :Bar;"
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Seve
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99769
--- Comment #4 from Bruce Adams ---
I had a issue I believed to be related but in attempting to create a reproducer
got several different ICEs so I have submitted a separate ticket - see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107191
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107191
Bug ID: 107191
Summary: [modules] ICE when importing module partition
(internal compiler error: in tree_node, at
cp/module.cc:9061)
Product: gcc
Version: 11.2.0