2014-11-13 Yvan Roux <yvan.roux@linaro.org>
authoryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Nov 2014 14:00:48 +0000 (14:00 +0000)
committeryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Nov 2014 14:00:48 +0000 (14:00 +0000)
commit2735f62d052ab09206d278f5aac9df78e27ceeeb
treedfb9e9133fb019519da83b8c1257d1e678fd4632
parent061c8f534e8007cd600d29b2446486c26d4eaba6
2014-11-13  Yvan Roux  <yvan.roux@linaro.org>

Backport from trunk r216229, r216230.
2014-10-14  Andrew Pinski  <apinski@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  <apinski@cavium.com>

Revert:
2011-08-19  H.J. Lu  <hongjiu.lu@intel.com>

        PR middle-end/49721
        * explow.c (convert_memory_address_addr_space): Also permute the
        conversion and addition of constant for zero-extend.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@217497 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.linaro
gcc/explow.c