From: Arnaud Charlet Date: Tue, 29 Jul 2008 18:52:26 +0000 (+0200) Subject: trans.c (process_inlined_subprograms): Remove tree_really_inline check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13669c366ce403b777cda69f7bb4c7fb60ece73f;p=gcc.git trans.c (process_inlined_subprograms): Remove tree_really_inline check. * trans.c (process_inlined_subprograms): Remove tree_really_inline check. From-SVN: r138261 --- diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index abc71f5e53e..88f9a20a3e6 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -5701,9 +5701,9 @@ process_inlined_subprograms (Node_Id gnat_node) Entity_Id gnat_entity; Node_Id gnat_body; - /* If we can inline, generate RTL for all the inlined subprograms. + /* If we can inline, generate Gimple for all the inlined subprograms. Define the entity first so we set DECL_EXTERNAL. */ - if (optimize > 0 && !flag_really_no_inline) + if (optimize > 0) for (gnat_entity = First_Inlined_Subprogram (gnat_node); Present (gnat_entity); gnat_entity = Next_Inlined_Subprogram (gnat_entity))