diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-10-21 00:59:13 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-10-21 00:59:13 +0200 |
commit | 500b9ca10d50d9d810cc7d712761fa0c295c2ff9 (patch) | |
tree | 69ae2273b21bfda82dcfcc65ee1f37e620389784 /gcc/c-decl.c | |
parent | 658344f2e5175f55c61e47a005a06c26e5432315 (diff) | |
download | gcc-500b9ca10d50d9d810cc7d712761fa0c295c2ff9.zip gcc-500b9ca10d50d9d810cc7d712761fa0c295c2ff9.tar.gz gcc-500b9ca10d50d9d810cc7d712761fa0c295c2ff9.tar.bz2 |
re PR debug/37020 (FAIL: gcc.dg/debug/dwarf2/dwarf-die3.c scan-assembler-not DW_AT_inline)
PR debug/37020
* c-decl.c (merge_decls): Don't call outlining_inline_function hook.
From-SVN: r141253
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index ee8e45e..eba6161 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1775,17 +1775,8 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype) throw it away, in case it was inlined into a function that hasn't been written out yet. */ if (new_is_definition && DECL_INITIAL (olddecl)) - { - if (TREE_USED (olddecl) - /* We never inline re-defined extern inline functions. - FIXME: This would be better handled by keeping both functions - as separate declarations. */ - && cgraph_function_possibly_inlined_p (olddecl)) - (*debug_hooks->outlining_inline_function) (olddecl); - - /* The new defn must not be inline. */ - DECL_UNINLINABLE (newdecl) = 1; - } + /* The new defn must not be inline. */ + DECL_UNINLINABLE (newdecl) = 1; else { /* If either decl says `inline', this fn is inline, unless |