[Bug rtl-optimization/79121] [6/7 Regression] invalid expansion of sign-extend unsigned plus left shift
wilco at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 19:51:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79121
wilco at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-01-17
CC| |wilco at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from wilco at gcc dot gnu.org ---
Confirmed. This also fails on 64-bit targets, eg. on AArch64:
__int128 f2(unsigned long x) { return (__int128)x << 4; }
mov x1, x0
lsl x0, x0, 4
asr x1, x1, 60
ret
More information about the Gcc-bugs
mailing list