aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2005-02-07 19:32:59 +0000
committerEric Botcazou <ebotcazou@libertysurf.fr>2005-02-07 19:32:59 +0000
commitc6542778d46cf6e8bcbf0ac93448d98b411870a5 (patch)
tree25844d916cab7582158d597f59202e60728adaff /gcc/dbxout.c
parent151456a63a7aade5bc59bd7ea9f61e53f76a7204 (diff)
PR debug/19327
* dbxout.c (dbxout_symbol) <FUNCTION_DECL>: Skip inline instance of nested functions. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94709 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c3
1 files changed, 3 insertions, 0 deletions
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;