Fix tree-checking abort on testcase with undefined macro as array size.
authorJim Wilson <wilson@cygnus.com>
Fri, 20 Oct 2000 00:58:35 +0000 (00:58 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 20 Oct 2000 00:58:35 +0000 (17:58 -0700)
commitf4fce7eda4a9e54552afc1847716eb583e6bf92f
tree26999095bf77649f560d24d3823ee28f35530487
parentef3751295c3062d9084ab72b681d53a911af2cc2
Fix tree-checking abort on testcase with undefined macro as array size.

* c-decl.c (start_decl): Check for error_mark_node type before using
COMPLETE_TYPE_P.
(finish_decl): Likewise.  Don't give an error if decl type is
already error_mark_node.

From-SVN: r36955
gcc/ChangeLog
gcc/c-decl.c