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
This commit is contained in:
parent
658344f2e5
commit
500b9ca10d
|
@ -6,6 +6,9 @@
|
|||
* gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from
|
||||
INTEGER_CSTs.
|
||||
|
||||
PR debug/37020
|
||||
* c-decl.c (merge_decls): Don't call outlining_inline_function hook.
|
||||
|
||||
2008-10-20 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
* tree-ssa-pre.c (insert_into_preds_of_block): Don't rewrite constant
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* If either decl says `inline', this fn is inline, unless
|
||||
|
|
Loading…
Reference in New Issue