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:
Eric Botcazou 2005-02-07 20:32:59 +01:00 committed by Eric Botcazou
parent c0d0afeed4
commit b950a32e34
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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;