https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65883
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Known to work| |4.9.2, 6.0 Target Milestone|--- |5.2 Summary|[5/6 Regression] |[5 Regression] |numeric_limits<unsigned |numeric_limits<unsigned |__int128>::max() returns |__int128>::max() returns |incorrect value |incorrect value Known to fail| |5.1.0 --- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- Fixed on trunk. This needs to be backported to 5, but I don't have time to do it right now, anyone feel free...