trans.c (Identifier_to_gnu): Minor tweaks.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 27 May 2019 11:04:48 +0000 (11:04 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 27 May 2019 11:04:48 +0000 (11:04 +0000)
commiteb0f4e48fafd54870e5326b2febdc06cad80d176
treeb3cf46ccce97e35b97f57665b20763126493a7e5
parent00e7f01dc47892361aa865714e84872745c691ec
trans.c (Identifier_to_gnu): Minor tweaks.

* gcc-interface/trans.c (Identifier_to_gnu): Minor tweaks.
(gnat_to_gnu): Do not convert the result if it is a reference to an
unconstrained array used as the prefix of an attribute reference that
requires an lvalue.

From-SVN: r271653
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/aliased2.adb [new file with mode: 0644]