Revert fix for PR c++/30044
authorPatrick Palka <ppalka@gcc.gnu.org>
Wed, 24 Jun 2015 12:10:57 +0000 (12:10 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Wed, 24 Jun 2015 12:10:57 +0000 (12:10 +0000)
commit7af8ef58c1cc4ebf15677c3a2b8b9599117bfc28
tree7ded0836dfd5c5643bb40af0f96d1697cdd0a414
parent39791822848036e92307da495b0ac6b6543b60fb
Revert fix for PR c++/30044

gcc/cp/ChangeLog:

Revert:
2015-06-23  Patrick Palka  <ppalka@gcc.gnu.org>

PR c++/30044
* parser.c (cp_parser_template_parameter_list): Update
current_template_parms right after processing a paramater.
* pt.c (template_parms_to_args): Remove obsolete hack for
giving template template arguments the proper level.
(check_default_tmpl_args): Account for tested template
parameter_lists.
(splite_late_return_type): Remove obsolete hack for giving
template template arguments the proper level.

gcc/testsuite/ChangeLog:

Revert:
2015-06-23  Patrick Palka  <ppalka@gcc.gnu.org>

PR c++/30044
* g++.dg/cpp0x/auto45.C: New test.
* g++.dg/template/pr30044.C: New test.
* g++.dg/template/crash83.C: Accept any error string.
* g++.dg/cpp0x/variadic18.C: Adjust to not shadow template
parameters.
* g++.dg/cpp0x/variadic18.C: Likewise
* g++.dg/template/canon-type-13.C: Likewise.
* g++.old-deja/g++.pt/ttp42.C: Likewise.

From-SVN: r224896
12 files changed:
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/auto45.C [deleted file]
gcc/testsuite/g++.dg/cpp0x/variadic18.C
gcc/testsuite/g++.dg/cpp0x/variadic19.C
gcc/testsuite/g++.dg/template/canon-type-13.C
gcc/testsuite/g++.dg/template/crash83.C
gcc/testsuite/g++.dg/template/pr30044.C [deleted file]
gcc/testsuite/g++.dg/torture/20070621-1.C
gcc/testsuite/g++.old-deja/g++.pt/ttp42.C