diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-12-05 15:09:56 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-12-05 15:09:56 +0100 |
commit | f79349c75ce20fe02b76edbcf347045181af0fa9 (patch) | |
tree | b441c86d092a48c7430183b19d6c18262c615e50 /gcc/gcse.c | |
parent | f71307783a96ca77b876c1ee0e8f3c6a33bc9a6a (diff) | |
download | gcc-f79349c75ce20fe02b76edbcf347045181af0fa9.zip gcc-f79349c75ce20fe02b76edbcf347045181af0fa9.tar.gz gcc-f79349c75ce20fe02b76edbcf347045181af0fa9.tar.bz2 |
c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's type is RECORD_TYPE...
* c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
(finish_struct): Break the loop if n_incomplete went to 0.
For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
* gcc.c-torture/compile/20011130-1.c: New test.
From-SVN: r47671
Diffstat (limited to 'gcc/gcse.c')
0 files changed, 0 insertions, 0 deletions