https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120305
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to aneris from comment #3) > (In reply to Andrew Pinski from comment #2) > > The difference is int128_t support. > > Could you elaborate a bit? I am afraid I don't follow. I am saying why `-std=c++20 -pedantic` fails but `-std=gnu++20 -pedantic` works. it seems related to int128_t support in libstdc++. I have not looked further than that.