https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86588
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #3) > On the trunk with "std=c++17 -fconcepts" It does not ICE any more but > without it, GCC does. I reduced the testcase where just -std=c++17 ICEs and filed PR 103572. Note that is unrelated to this bug as the reason why it is ICEing is because the concept was not recognized (correct) and we get invalid code. I still have not reduced the original testcase otherwise.