https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107518
Bug ID: 107518
Summary: -fmodule-ts crashes for #include<type_traits>
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: unlvsur at live dot com
Target Milestone: ---
#pragma once
#include<type_traits>
g++ -E typetraits.h -Ofast -std=c++23 -s -march=native -flto -fmodules-ts
-fmodule-header
...
/usr/local/include/c++/13.0.0/type_traits:3033:27: internal compiler error:
unspellable token PRAGMA_EOL
3033 | ~__nonesuch() = delete;
| ^
0x7f0922039d8f __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7f0922039e3f __libc_start_main_impl
../csu/libc-start.c:392
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.