https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49721
--- Comment #36 from Yvan Roux <yroux at gcc dot gnu.org> --- Author: yroux Date: Thu Nov 13 14:00:48 2014 New Revision: 217497 URL: https://gcc.gnu.org/viewcvs?rev=217497&root=gcc&view=rev Log: 2014-11-13 Yvan Roux <yvan.r...@linaro.org> Backport from trunk r216229, r216230. 2014-10-14 Andrew Pinski <apin...@cavium.com> * explow.c (convert_memory_address_addr_space): Rename to ... (convert_memory_address_addr_space_1): This. Add in_const argument. Inside a CONST RTL, permute the conversion and addition of constant for zero and sign extended pointers. (convert_memory_address_addr_space): New function. 2014-10-14 Andrew Pinski <apin...@cavium.com> Revert: 2011-08-19 H.J. Lu <hongjiu...@intel.com> PR middle-end/49721 * explow.c (convert_memory_address_addr_space): Also permute the conversion and addition of constant for zero-extend. Modified: branches/linaro/gcc-4_9-branch/gcc/ChangeLog.linaro branches/linaro/gcc-4_9-branch/gcc/explow.c