[Bug middle-end/80131] powerpc: 1U << (31 - x) doesn't generate optimised code

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 21 17:36:00 GMT 2017


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

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Yeah, good point.  Of course c is unsigned in the example, but we should
handle signed as well (and that info is lost in RTL anyway).


More information about the Gcc-bugs mailing list