From: Jan Hubicka Date: Wed, 22 Oct 2003 19:18:03 +0000 (+0200) Subject: cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when global info is... X-Git-Tag: releases/gcc-3.4.0~2793 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=190f08bd30e2f540cb1eeece673bfaccbd8854a0;p=thirdparty%2Fgcc.git cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when global info is not ready. * cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when global info is not ready. From-SVN: r72816 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c189a994453..bd9d632ec0d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-10-22 Jan Hubicka + + * cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when + global info is not ready. + 2003-10-22 Kazu Hirata * doc/extend.texi: Mention H8S wherever H8/300H is mentioned. diff --git a/gcc/cgraph.c b/gcc/cgraph.c index b28d9f3a6c0c..5daea448500e 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -535,10 +535,8 @@ cgraph_varpool_assemble_pending_decls (void) bool cgraph_function_possibly_inlined_p (tree decl) { - if (!flag_unit_at_a_time) - return (DECL_INLINE (decl) && !flag_no_inline); if (!cgraph_global_info_ready) - abort (); + return (DECL_INLINE (decl) && !flag_no_inline); return cgraph_node (decl)->global.inlined; }