decl.c (gnat_to_gnu_entity): Do not specifically deal with external constants wrt...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 11 Jun 2012 08:34:44 +0000 (08:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 11 Jun 2012 08:34:44 +0000 (08:34 +0000)
commit9083aacd090fc35f85659bdaa812384779ef73e2
treeee4cd62633fa310c78b4c77fb3f1bdca4a4fae92
parent9cbad0a3624eb087ff3c05457aa41d5c595f5a85
decl.c (gnat_to_gnu_entity): Do not specifically deal with external constants wrt force_global here...

* gcc-interface/decl.c (gnat_to_gnu_entity): Do not specifically deal
with external constants wrt force_global here...
<E_Constant>: ...but here instead.
* gcc-interface/utils.c (gnat_pushdecl): Do not put external DECLs onto
the list of global DECLs.

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