https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65732
--- Comment #6 from Mikhail Maltsev <miyuki at gcc dot gnu.org> --- There is a patch proposed by Pedro Alves for PR61321, and it fixes all testcases mentioned here, but the patch did not get into mainline unfortunately. Updated testcases (valid with applied patch, cause segfault wihout patch): _ZNmlIvEES_IDTcvT__EEES_ -> operator*<decltype ((void)())> operator*<void>(operator*) _ZNpLImEEN9Enable_IfIXgtcvT_1ELi0EEEES_ -> Enable_If<(((unsigned long)E)>(0))> operator+=<unsigned long>(operator+=) _ZNmlILelEEEN8QuantityIDTmlcvT_T_1EEEES_ -> Quantity<decltype ((((long double)[l])((long double)[l]))*E)> operator*<(long double)[l]>(operator*) _ZN1eIhEEN8EnableIfIXgecvT_Li0EcvS__EEEEi -> EnableIf<((unsigned char)(0))>=((e)())> e<unsigned char>(int)