Created attachment 50764 [details] compressed preprocessed source The attached file triggers a segfault. It might be possible that the way it was created was erroneous but the compiler should segfault for any input hence the report Reproduced with 10.2.0, 10.3.0, 9.3.0 on 2 systems.
Confirmed. GCC 8 crashes as well but doesn't recognize some builtins used in the preprocessed source. Maybe a duplicate. Not sure if valid.
Reduced to almost valid c++ code: template <bool> using __bool_constant struct intmax_t; template <int, int> struct ratio { template <class _Period> struct duration { static intmax_t _S_gcd(); template <class> using __is_harmonic = __bool_constant<ratio<0, _Period(duration ::_S_gcd)>::den>; class _Period2 __is_harmonic<_Period2> Started likely with r8-2724-g88b811bd29063036.
dup of PR 100102 then *** This bug has been marked as a duplicate of bug 100102 ***