]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
utils2.c (gnat_protect_expr): Also protect only the address if the expression is...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 13 Nov 2016 18:08:25 +0000 (18:08 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 13 Nov 2016 18:08:25 +0000 (18:08 +0000)
commit96826e28ef9a627b82f1d7ccda0906f20dfe96d5
treea48f85ec10e25a6592a4c4e4dde297541dd8d217
parent854c00dd69de6b13c1dc8d75948360420e4816d6
utils2.c (gnat_protect_expr): Also protect only the address if the expression is the component of a dereference.

* gcc-interface/utils2.c (gnat_protect_expr): Also protect only the
address if the expression is the component of a dereference.
Do not use a reference type for the final temporary reference.

From-SVN: r242358
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/renaming11.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/renaming11.ads [new file with mode: 0644]