summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-06-19 01:17:36 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-06-19 01:17:36 +0000
commit61be0a713a00abcac0e107e62d8f8f36992d0071 (patch)
treea006c9b1852d71edf2955b659de9f462a10d1264 /gcc/dbxout.c
parent55b1e208daa460036131eeabe58686a6aa2fcfed (diff)
downloadgcc-61be0a713a00abcac0e107e62d8f8f36992d0071.tar.gz
* dbxout.c (dbxout_type_fields): Skip field if DECL_IGNORED_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14259 138bc75d-0d04-0410-961f-82ee72b054a4
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 80d2f83849f..a0a9665acab 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,