From 13669c366ce403b777cda69f7bb4c7fb60ece73f Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 29 Jul 2008 20:52:26 +0200 Subject: [PATCH] trans.c (process_inlined_subprograms): Remove tree_really_inline check. * trans.c (process_inlined_subprograms): Remove tree_really_inline check. From-SVN: r138261 --- gcc/ada/gcc-interface/trans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index abc71f5..88f9a20 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)) -- 2.7.4