From 343eba42a9ad40fe86886a45ad972c9b8d42aad5 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 29 Jul 2008 19:02:45 +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: r138254 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/trans.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 195ea6a7715..2dcf15cd375 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2008-07-29 Jan Hubicka + + * trans.c (process_inlined_subprograms): Remove tree_really_inline + check. + 2008-07-29 Arnaud Charlet * gcc-interface: New directory. diff --git a/gcc/ada/trans.c b/gcc/ada/trans.c index abc71f5e53e..88f9a20a3e6 100644 --- a/gcc/ada/trans.c +++ b/gcc/ada/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.30.2