aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1996-10-15 01:31:09 +0000
committerJason Merrill <merrill@gnu.org>1996-10-15 01:31:09 +0000
commit29b396f75f1b390f144777b478ee9dfe60f97610 (patch)
tree941f526a50a984426c43c3a22bdf212beeaa9b54 /gcc
parent17bbe96fed5b87412ecd02faeb4365209e00d472 (diff)
downloadgcc-29b396f75f1b390f144777b478ee9dfe60f97610.zip
gcc-29b396f75f1b390f144777b478ee9dfe60f97610.tar.gz
gcc-29b396f75f1b390f144777b478ee9dfe60f97610.tar.bz2
-g1
From-SVN: r12962
Diffstat (limited to 'gcc')
-rw-r--r--gcc/dwarf2out.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index e999426..1558ade 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -7594,8 +7594,9 @@ gen_decl_die (decl, context_die)
type or a formal parameter type of some function. */
if (debug_info_level <= DINFO_LEVEL_TERSE)
{
- if (DECL_NAME (decl) != NULL
- || !TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl)))
+ if ((DECL_NAME (decl) != NULL
+ || !TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl)))
+ && ! DECL_ARTIFICIAL (decl))
{
break;
}
@@ -7797,8 +7798,9 @@ dwarfout_file_scope_decl (decl, set_finalizing)
type or a formal parameter type of some function. */
if (debug_info_level <= DINFO_LEVEL_TERSE)
{
- if (DECL_NAME (decl) != NULL
- || !TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl)))
+ if ((DECL_NAME (decl) != NULL
+ || !TYPE_USED_FOR_FUNCTION (TREE_TYPE (decl)))
+ && ! DECL_ARTIFICIAL (decl))
{
return;
}