From 402946c115f95d546ebe17fdf1fcc385ddcd1762 Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Mon, 7 Feb 2005 19:32:59 +0000 Subject: PR debug/19327 * dbxout.c (dbxout_symbol) : Skip inline instance of nested functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94709 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/dbxout.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/dbxout.c') diff --git a/gcc/dbxout.c b/gcc/dbxout.c index c595a84cb6f..e7a7738816d 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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; -- cgit v1.2.1