https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115008
Bug ID: 115008 Summary: ICE with modules on amd64-freebsd* Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gerald at pfeifer dot com CC: developer at lorenzosalvadore dot it, nathan at acm dot org, nshead at gcc dot gnu.org Target Milestone: --- Host: x86_64-unknown-freebsd13.2 Target: x86_64-unknown-freebsd13.2 Build: x86_64-unknown-freebsd13.2 Looking at recent test results, but even back to January 1st, I noticed that 1349 modules related tests fail on FreeBSD/amd64. Running some of them manually I see ~/gcc-ref13-amd64/bin/g++ g++.dg/modules/freeze-1_a.C \ -std=c++17 -fmodules-ts g++.dg/modules/freeze-1_a.C:5:19: internal compiler error: Segmentation fault 5 | export void bob (); | ^ 0x82a85b4ae handle_signal /usr/src/lib/libthr/thread/thr_sig.c:301 0x82a85aa6a thr_sighandler /usr/src/lib/libthr/thread/thr_sig.c:244 0x8287134a3 ??? /usr/src/lib/libc/amd64/string/memmove.S:304 alas am not able to get a core dump for some reason (surely unrelated to GCC).