diff options
author | Jan Hubicka <jh@suse.cz> | 2008-07-29 19:10:55 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2008-07-29 17:10:55 +0000 |
commit | 54dfd46bffb35c49935053bd9bc2997f77e26902 (patch) | |
tree | ec580272d62cb4f74dab5323db176f00f81fd545 /gcc/langhooks.c | |
parent | ce94d3547f81cc3dd105f4a3377e72cdbd2bbd2c (diff) | |
download | gcc-54dfd46bffb35c49935053bd9bc2997f77e26902.zip gcc-54dfd46bffb35c49935053bd9bc2997f77e26902.tar.gz gcc-54dfd46bffb35c49935053bd9bc2997f77e26902.tar.bz2 |
c-decl.c (merge_decls): Do not handle DECL_INLINE.
* c-decl.c (merge_decls): Do not handle DECL_INLINE.
(grokdeclarator): Likewise.
* langhooks.c (lhd_warn_unused_global_decl): Use
DECL_DECLARED_INLINE_P.
* print-tree.c (print_node): Remove DECL_INLINE check.
From-SVN: r138258
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 2285ac1..30e5bfa 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -133,7 +133,7 @@ lhd_warn_unused_global_decl (const_tree decl) /* This is what used to exist in check_global_declarations. Probably not many of these actually apply to non-C languages. */ - if (TREE_CODE (decl) == FUNCTION_DECL && DECL_INLINE (decl)) + if (TREE_CODE (decl) == FUNCTION_DECL && DECL_DECLARED_INLINE_P (decl)) return false; if (TREE_CODE (decl) == VAR_DECL && TREE_READONLY (decl)) return false; |