trans.c (Compilation_Unit_to_gnu): Skip subprograms on the inlined list that are...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 15 May 2017 08:27:44 +0000 (08:27 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 15 May 2017 08:27:44 +0000 (08:27 +0000)
commit0c09a01e9ea0608df0ae6754f67d630c1e40bb04
tree4c9ba6b6fbac20d5aef34f719eac44d35b061cc7
parentb1b2b511e525b098204c590b0eafa7d36092b7e1
trans.c (Compilation_Unit_to_gnu): Skip subprograms on the inlined list that are not public.

* gcc-interface/trans.c (Compilation_Unit_to_gnu): Skip subprograms on
the inlined list that are not public.
* gcc-interface/utils.c (create_subprog_decl): Clear TREE_PUBLIC if
there is a pragma Inline_Always on the subprogram.

From-SVN: r248051
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c