aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1996-11-09 01:32:56 +0000
committerJason Merrill <merrill@gnu.org>1996-11-09 01:32:56 +0000
commita082c85a4365cc2a9b73ecc6547075d3c352d46c (patch)
tree52d6bc1d7084d5aba0f1ee166babb5917339f369 /gcc/stor-layout.c
parent9b04c6a896b81889fb94e7878cef705b1ef716c4 (diff)
downloadgcc-a082c85a4365cc2a9b73ecc6547075d3c352d46c.zip
gcc-a082c85a4365cc2a9b73ecc6547075d3c352d46c.tar.gz
gcc-a082c85a4365cc2a9b73ecc6547075d3c352d46c.tar.bz2
x
From-SVN: r13116
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 b0b64d2..e7af7d2 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;