https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94899
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- If I used (int)(0x80000000) instead, I get the optimization which means GCC is correct.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94899
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- If I used (int)(0x80000000) instead, I get the optimization which means GCC is correct.