c-decl.c (pushdecl): Only put decls which finish_struct will do something about onto...
authorJakub Jelinek <jakub@redhat.com>
Sat, 23 Aug 2003 22:18:54 +0000 (00:18 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 23 Aug 2003 22:18:54 +0000 (00:18 +0200)
commit61c234ce879e13e580cdfa383a59881753add6a8
tree78a76c5ec38f223d94c70b1761e375c81455986b
parentebe75517d4ffdb7045a607c6c5426306dbf662ee
c-decl.c (pushdecl): Only put decls which finish_struct will do something about onto incomplete chain.

* c-decl.c (pushdecl): Only put decls which finish_struct will do
something about onto incomplete chain.
(finish_struct): If not removing type from incomplete
list, update prev.

* gcc.dg/20030815-1.c: New test.

From-SVN: r70752
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030815-1.c [new file with mode: 0644]