re PR debug/19327 (gcc.c-torture/execute/921215-1.c compilation -O3 -g)
PR debug/19327 * dbxout.c (dbxout_symbol) <FUNCTION_DECL>: Skip inline instance of nested functions. From-SVN: r94709
This commit is contained in:
parent
c0d0afeed4
commit
b950a32e34
@ -1,3 +1,9 @@
|
||||
2005-02-07 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
PR debug/19327
|
||||
* dbxout.c (dbxout_symbol) <FUNCTION_DECL>: Skip inline instance
|
||||
of nested functions.
|
||||
|
||||
2005-02-07 Jonathan Wakely <redi@gcc.gnu.org>
|
||||
|
||||
* doc/extend.texi: Document deprecated extensions allowing
|
||||
|
@ -2429,6 +2429,9 @@ dbxout_symbol (tree decl, int local ATTRIBUTE_UNUSED)
|
||||
context = decl_function_context (decl);
|
||||
if (context == current_function_decl)
|
||||
break;
|
||||
/* Don't mention an inline instance of a nested function. */
|
||||
if (context && DECL_FROM_INLINE (decl))
|
||||
break;
|
||||
if (!MEM_P (DECL_RTL (decl))
|
||||
|| GET_CODE (XEXP (DECL_RTL (decl), 0)) != SYMBOL_REF)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user