decl.c (gnat_to_gnu_entity): Do not set DECL_ARTIFICIAL on the reused DECL node comin...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 10 Nov 2010 11:35:08 +0000 (11:35 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 10 Nov 2010 11:35:08 +0000 (11:35 +0000)
commitd0edecea00fdd32bce58217fe225de90342e4396
treeeb51c7f72d8cc87b357039832b52bc246eb4bd9c
parent197a830e4355554df133c9bc54c75269cfb70ac7
decl.c (gnat_to_gnu_entity): Do not set DECL_ARTIFICIAL on the reused DECL node coming from a renamed object.

* gcc-interface/decl.c (gnat_to_gnu_entity): Do not set DECL_ARTIFICIAL
on the reused DECL node coming from a renamed object.
Set DECL_IGNORED_P on the DECL node built for renaming entities if they
don't need debug info.

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