diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2005-02-07 20:32:59 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2005-02-07 19:32:59 +0000 |
commit | b950a32e341adc4457bc428e9b261764ed8456ef (patch) | |
tree | 25844d916cab7582158d597f59202e60728adaff /gcc/dbxout.c | |
parent | c0d0afeed486505d11e11116d8f7a6b2fa6c3dfe (diff) | |
download | gcc-b950a32e341adc4457bc428e9b261764ed8456ef.zip gcc-b950a32e341adc4457bc428e9b261764ed8456ef.tar.gz gcc-b950a32e341adc4457bc428e9b261764ed8456ef.tar.bz2 |
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
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index c595a84..e7a7738 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; |