diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-29 17:10:55 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-29 17:10:55 +0000 |
commit | 81549c4d385d89c1415a02a56c04574be7a45ef2 (patch) | |
tree | ec580272d62cb4f74dab5323db176f00f81fd545 /gcc/langhooks.c | |
parent | 4be5a86a950c35e2e438427edac99ec702d0542b (diff) | |
download | gcc-81549c4d385d89c1415a02a56c04574be7a45ef2.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138258 138bc75d-0d04-0410-961f-82ee72b054a4
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 2285ac17f54..30e5bfa9f61 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; |