OSDN Git Service

PR c/20368
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Mar 2005 19:35:49 +0000 (19:35 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Mar 2005 19:35:49 +0000 (19:35 +0000)
commit494fc9d0f43f28049e7334c2f16183a700da3882
tree2be5b945b2d43442ad7d484da300b889093ef64a
parent4bf029b0b9dcf64502730c507a0498ba843787a7
PR c/20368
* c-decl.c (start_function): Check for old_decl being
error_mark_node.

testsuite:
* gcc.dg/pr20368-1.c, gcc.dg/pr20368-2.c, gcc.dg/pr20368-3.c: New
tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97270 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr20368-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr20368-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr20368-3.c [new file with mode: 0644]