diff options
author | Jan Hubicka <jh@suse.cz> | 2008-07-26 12:03:01 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2008-07-26 10:03:01 +0000 |
commit | c37f4ba497bbe33b11c2cf9fa33c077b22218168 (patch) | |
tree | 80406a736a1a96412c44a033898bd544e1802903 /gcc/cgraph.c | |
parent | 18509edc7fe522caa0a55e49f8780074cdb431e7 (diff) | |
download | gcc-c37f4ba497bbe33b11c2cf9fa33c077b22218168.zip gcc-c37f4ba497bbe33b11c2cf9fa33c077b22218168.tar.gz gcc-c37f4ba497bbe33b11c2cf9fa33c077b22218168.tar.bz2 |
cgraph.c (cgraph_function_possibly_inlined_p): Do not rely on DECL_INLINE.
* cgraph.c (cgraph_function_possibly_inlined_p): Do not rely on DECL_INLINE.
* cgraphunit.c (record_cdtor_fn): Do not initialize DECL_INLINE
(cgraph_preserve_function_body_p): Do not rely on DECL_INLINE.
* dojump.c (clear_pending_stack_adjust): Likewise.
* print-tree.c (print_node): Ignore DECL_INLINE.
* tree-inline.c (inlinable_function_p): Likewise.
From-SVN: r138165
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index c4ad33e..b88ab68 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1140,7 +1140,7 @@ bool cgraph_function_possibly_inlined_p (tree decl) { if (!cgraph_global_info_ready) - return (DECL_INLINE (decl) && !flag_really_no_inline); + return !DECL_UNINLINABLE (decl) && !flag_really_no_inline; return DECL_POSSIBLY_INLINED (decl); } |