From: Jan Hubicka Date: Tue, 29 Jul 2008 17:02:45 +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=343eba42a9ad40fe86886a45ad972c9b8d42aad5;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: r138254 --- 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))