https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86588 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- On the trunk with "std=c++17 -fconcepts" It does not ICE any more but without it, GCC does.