aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1997-06-18 18:17:36 -0700
committerPer Bothner <bothner@gcc.gnu.org>1997-06-18 18:17:36 -0700
commit7b1f7d51a7a9d70d754d04b28d3463f92ae96c83 (patch)
treea006c9b1852d71edf2955b659de9f462a10d1264 /gcc/dbxout.c
parent16c8104062425d556e5b0f4bbe0747b0fb7c0351 (diff)
downloadgcc-7b1f7d51a7a9d70d754d04b28d3463f92ae96c83.zip
gcc-7b1f7d51a7a9d70d754d04b28d3463f92ae96c83.tar.gz
gcc-7b1f7d51a7a9d70d754d04b28d3463f92ae96c83.tar.bz2
* dbxout.c (dbxout_type_fields): Skip field if DECL_IGNORED_P.
From-SVN: r14259
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 80d2f83..a0a9665 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -640,6 +640,8 @@ dbxout_type_fields (type)
|| TREE_CODE (DECL_SIZE (tem)) != INTEGER_CST))
continue;
/* Omit here the nameless fields that are used to skip bits. */
+ else if (DECL_IGNORED_P (tem))
+ continue;
else if (TREE_CODE (tem) != CONST_DECL)
{
/* Continue the line if necessary,