This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/79121] [6/7 Regression] invalid expansion of sign-extend unsigned plus left shift
- From: "wilco at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jan 2017 19:51:13 +0000
- Subject: [Bug rtl-optimization/79121] [6/7 Regression] invalid expansion of sign-extend unsigned plus left shift
- Auto-submitted: auto-generated
- References: <bug-79121-4@http.gcc.gnu.org/bugzilla/>
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