https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97311
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |11.0 Status|NEW |RESOLVED --- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed on master. The current code produces the wrong results for signed 64-bit types, but I'm not sure whether backporting it (and changing the results in the middle of a release series) is a good idea.