[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Oct 29 13:14:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-10-29 13:14:03 UTC ---
ix86_decompose_address has
case ASHIFT:
if (index)
return 0;
index = XEXP (op, 0);
tmp = XEXP (op, 1);
if (!CONST_INT_P (tmp))
return 0;
scale = INTVAL (tmp);
if ((unsigned HOST_WIDE_INT) scale > 3)
return 0;
scale = 1 << scale;
break;
More information about the Gcc-bugs
mailing list