decl.c (gnat_to_gnu_entity): Deal with PLUS_EXPR in the expression of a renaming.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 13 Jun 2016 08:00:17 +0000 (08:00 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 13 Jun 2016 08:00:17 +0000 (08:00 +0000)
commit42e77cbc7d5c00e637bca5614a8d688ad08a39c7
treea050bf546eea4542eff56409c4ae815fac2beffd
parent7474dcc1fed2bbce551341798bd4d7e6e10a5aa5
decl.c (gnat_to_gnu_entity): Deal with PLUS_EXPR in the expression of a renaming.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Deal with
PLUS_EXPR in the expression of a renaming.

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