From b60cef598a66a929bf9e0466cab577a4352c734b Mon Sep 17 00:00:00 2001 From: hubicka Date: Wed, 22 Oct 2003 19:18:03 +0000 Subject: * cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when global info is not ready. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72816 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cgraph.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gcc/cgraph.c') diff --git a/gcc/cgraph.c b/gcc/cgraph.c index b28d9f3a6c0..5daea448500 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; } -- cgit v1.2.1