https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68131
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 Known to work| |8.1.0 Resolution|--- |FIXED Status|NEW |RESOLVED Known to fail| |7.5.0 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed by r8-3771. There is no overflow here as unsigned short gets prompted to int and such.