https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107953
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Even template defaults has issues: template <auto = [] (int x, int y) { return x > y; }> int t = 0; Which is why I Pointed to PR 57.