utils.c (create_var_decl_1): For a variable declared in the unit...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 27 Oct 2014 11:33:21 +0000 (11:33 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 27 Oct 2014 11:33:21 +0000 (11:33 +0000)
commit5fe48b3df8d1e27d2348ee66dfef7fc7b9e42553
tree1f095d0f86f138686680abbe2f58773377a05e8c
parent016adb0549c554d7ac73547a7c75b9a5594b14a3
utils.c (create_var_decl_1): For a variable declared in the unit...

* gcc-interface/utils.c (create_var_decl_1): For a variable declared
in the unit, set TREE_PUBLIC only if it has static storage duration.

From-SVN: r216729
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/concat1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/concat1_pkg.ads [new file with mode: 0644]