Commit b950a32e by Eric Botcazou Committed by Eric Botcazou

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
parent c0d0afee
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment