c-decl.c (finish_decl): Don't add DECL_STMTs for nested function prototypes.
authorJakub Jelinek <jakub@redhat.com>
Wed, 24 Oct 2001 14:46:44 +0000 (16:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 24 Oct 2001 14:46:44 +0000 (16:46 +0200)
commitc0a4369a237ae3b0cdabff81a2b83fdf3308b5b2
tree38a09399a3edfe3cf8aa399e0146cca77ab9f37a
parentb8c815e5488369a6611f9194f9b5d09f2a72193f
c-decl.c (finish_decl): Don't add DECL_STMTs for nested function prototypes.

* c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
prototypes.

* gcc.c-torture/compile/20011023-1.c: New test.

From-SVN: r46463
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20011023-1.c [new file with mode: 0644]