Permute conversion and addition of constant for zero-extend.
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 19 Aug 2011 21:18:03 +0000 (21:18 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 19 Aug 2011 21:18:03 +0000 (14:18 -0700)
commit54f6892e4b7baa65bd5a16e5800258c319710e3c
tree1b85c27b72fa3bcaecc098807bd2c3f176de23b4
parentd4a83c103c7a266631bc93abcfebc2451a8d5dcd
Permute conversion and addition of constant for zero-extend.

gcc/

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.

gcc/testsuite/

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

PR middle-end/49721
* gfortran.dg/pr49721-1.f: New.
* gfortran.fortran-torture/compile/pr49721-1.f: Likewise.

From-SVN: r177914
gcc/ChangeLog
gcc/explow.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr49721-1.f [new file with mode: 0644]
gcc/testsuite/gfortran.fortran-torture/compile/pr49721-1.f [new file with mode: 0644]