summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1996-11-09 01:32:56 +0000
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1996-11-09 01:32:56 +0000
commita3377a8b07a455515c819f1192b5fc59a41ea046 (patch)
tree52d6bc1d7084d5aba0f1ee166babb5917339f369 /gcc/stor-layout.c
parente8976cd79d68eeee0362077b9836af68f1d163dc (diff)
downloadgcc-a3377a8b07a455515c819f1192b5fc59a41ea046.tar.gz
x
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13116 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index b0b64d2d0cd..e7af7d2a7fb 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -336,7 +336,7 @@ layout_record (rec)
In both cases, all we do is lay out the decl,
and we do it *after* the record is laid out. */
- if (TREE_STATIC (field))
+ if (TREE_CODE (field) == VAR_DECL)
{
pending_statics = tree_cons (NULL_TREE, field, pending_statics);
continue;