https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96193
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Johel Ernesto Guerrero Peña from comment #4) > It actually fails for dependent calls. See https://godbolt.org/z/E64Pbb. This seems to have been fixed in GCC 11+.