diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-22 19:18:03 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-22 19:18:03 +0000 |
commit | b60cef598a66a929bf9e0466cab577a4352c734b (patch) | |
tree | 7ce709c7d3b9f7de41de5fb5007d8654d851098c /gcc/cgraph.c | |
parent | 0f902b7d83e7446527dd05bc087b3958ec14a286 (diff) | |
download | gcc-b60cef598a66a929bf9e0466cab577a4352c734b.tar.gz |
* 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
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |