expr.c (expand_expr_real_1): Use the expression to set the memory attributes in all...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 15 Jan 2015 11:55:37 +0000 (11:55 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 15 Jan 2015 11:55:37 +0000 (11:55 +0000)
commit3aabdc00d0cdf1b4fccdb445cf3846f5d83c3981
tree903d2ee38e433bf9d9223bc1d41f49de5d88cf89
parent04d8b4dcbf9f39a794614845f792f52508f19e7f
expr.c (expand_expr_real_1): Use the expression to set the memory attributes in all cases but clear MEM_EXPR...

* expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
set the memory attributes in all cases but clear MEM_EXPR if need be.

From-SVN: r219648
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt47.adb [new file with mode: 0644]