[Bug tree-optimization/99079] Maybe a wrong code since r6-1462-g4ab1e111ef0669bb

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 12 19:11:58 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99079

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ah, except we introduce UB into the program because (1 << var) - 1 when var is
31 will be INT_MIN - 1.  I think we should do the subtraction of 1 in utype
then.


More information about the Gcc-bugs mailing list