decl.c (gnat_to_gnu_entity): Use case #1 for the renaming of an address.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 18 Nov 2015 18:31:42 +0000 (18:31 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 18 Nov 2015 18:31:42 +0000 (18:31 +0000)
commit482a338d0113756c63035861fa05aa003b49cf65
treef9406b1c7cb09d095c6b70103d1e989127905810
parenta239279ee574a15ed79d27b48f835c3db45a593f
decl.c (gnat_to_gnu_entity): Use case #1 for the renaming of an address.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Use case #1
for the renaming of an address.

From-SVN: r230560
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/renaming7.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/renaming7_pkg.ads [new file with mode: 0644]