[Bug middle-end/112629] Missed-optimization: constant << (b + signed_constant)
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 19 21:05:29 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112629
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to gooncreeper from comment #3)
> This optimization could also be performed for unsigned integers if we know
> they won't overflow in the optimization.
Note it is not overflow, is wrap anyways.
More information about the Gcc-bugs
mailing list