summaryrefslogtreecommitdiffstats
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-26 10:03:01 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-26 10:03:01 +0000
commit8d8c4c8d833e821376b00a1f83b44bb701824b16 (patch)
tree80406a736a1a96412c44a033898bd544e1802903 /gcc/tree-inline.c
parente2fb03c949f9bd79575f457bdbcfbe7e7a326dd4 (diff)
downloadppe42-gcc-8d8c4c8d833e821376b00a1f83b44bb701824b16.tar.gz
ppe42-gcc-8d8c4c8d833e821376b00a1f83b44bb701824b16.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138165 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 5eff3caaa18..103f504c2d9 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -2058,7 +2058,6 @@ inlinable_function_p (tree fn)
/* We only warn for functions declared `inline' by the user. */
do_warning = (warn_inline
- && DECL_INLINE (fn)
&& DECL_DECLARED_INLINE_P (fn)
&& !DECL_IN_SYSTEM_HEADER (fn));
OpenPOWER on IntegriCloud