cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2001 08:07:56 +0000 (08:07 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2001 08:07:56 +0000 (08:07 +0000)
commit54da4cc83120d7306df09f0ee431824a0aeb75d3
treee75ee3f6066eb226d294e5a52b6c3511f4d79eff
parent228c5c81f5322d55c57c5eeda217b0b22e2036c2
cp:
* decl.c (last_function_parm_tags): Remove.
(current_function_parm_tags): Remove.
(init_decl_processing): Adjust.
(start_function): Adjust.
(store_parm_decls): Adjust.

PR c++/3152
* decl.c (grokdeclarator): Detect when a function typedef is
declaring a function, and create last_function_parms correctly.
testsuite:
* g++.old-deja/g++.other/crash42.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44387 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/crash42.C [new file with mode: 0644]