re PR c/17023 (ICE with nested functions in parameter declaration)
authorRichard Henderson <rth@redhat.com>
Thu, 14 Oct 2004 23:20:58 +0000 (16:20 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 14 Oct 2004 23:20:58 +0000 (16:20 -0700)
commit559f2da552874a159ac13d13b7d5d94e3deafd10
tree7534024d48e27ca0af83286859f217f61e28cc3c
parent0c58f841a52644c9845b3c136f3264e6a728ba76
re PR c/17023 (ICE with nested functions in parameter declaration)

        PR c/17023
        * c-decl.c (store_parm_decls_oldstyle): Care for parameter type
        as error_mark_node.
        * c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null
        instaed of current_function_decl non-null.

From-SVN: r89063
gcc/ChangeLog
gcc/c-decl.c
gcc/c-parse.in
gcc/testsuite/gcc.dg/20041014-1.c [new file with mode: 0644]