This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34491] [4.3/4.4/4.5/4.6 regression] ICE invalid template specialization
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2010 20:53:54 -0000
- Subject: [Bug c++/34491] [4.3/4.4/4.5/4.6 regression] ICE invalid template specialization
- References: <bug-34491-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from paolo at gcc dot gnu dot org 2010-05-11 20:53 -------
Subject: Bug 34491
Author: paolo
Date: Tue May 11 20:53:36 2010
New Revision: 159295
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159295
Log:
/cp
2010-05-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/34272
PR c++/43630
PR c++/34491
* pt.c (process_partial_specialization): Return error_mark_node
in case of unused template parameters in partial specialization.
/testsuite
2010-05-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/34272
PR c++/43630
PR c++/34491
* g++.dg/template/crash97.C: New.
* g++.dg/template/crash98.C: Likewise.
* g++.dg/template/crash99.C: Likewise.
* g++.dg/cpp0x/pr31439.C: Adjust.
* g++.dg/template/crash95.C: Likewise.
Added:
trunk/gcc/testsuite/g++.dg/template/crash97.C
trunk/gcc/testsuite/g++.dg/template/crash98.C
trunk/gcc/testsuite/g++.dg/template/crash99.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/pr31439.C
trunk/gcc/testsuite/g++.dg/template/crash95.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34491