pt.c (process_template_parm): Ignore top-level qualifiers on non-type parameters.
authorMark Mitchell <mark@markmitchell.com>
Fri, 15 Jan 1999 18:34:48 +0000 (18:34 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 15 Jan 1999 18:34:48 +0000 (18:34 +0000)
commitd490621d8989463e895bd0685144a7132a485059
tree76132e5f3be5666e5b87fdfa8a4787b6f33f4139
parent1e75bc3481e7baf4e7f2b588950953d9fed16a24
pt.c (process_template_parm): Ignore top-level qualifiers on non-type parameters.

* pt.c (process_template_parm): Ignore top-level qualifiers on
non-type parameters.
* decl.c (start_function): Use current_function_parms in the call
to require_complete_type_for_parms, not the probably empty
DECL_ARGUMENTS.

From-SVN: r24684
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.other/incomplete.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/crash26.C [new file with mode: 0644]