[Bug c++/28743] [4.1/4.2 regression] ICE with invalid specialization
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 22 11:04:00 GMT 2008
------- Comment #11 from paolo at gcc dot gnu dot org 2008-02-22 11:03 -------
Subject: Bug 28743
Author: paolo
Date: Fri Feb 22 11:02:31 2008
New Revision: 132544
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132544
Log:
/testsuite
2008-02-22 Paolo Carlini <pcarlini@suse.de>
PR c++/35282
* g++.dg/template/nontype17.C: Add.
/cp
2008-02-22 Paolo Carlini <pcarlini@suse.de>
PR c++/35282
Revert:
2008-02-14 Paolo Carlini <pcarlini@suse.de>
PR c++/28743
* pt.c (determine_specialization): In case of function templates,
when the type of DECL does not match FN there is no match.
/testsuite
2008-02-22 Paolo Carlini <pcarlini@suse.de>
PR c++/35282
Revert:
2008-02-14 Paolo Carlini <pcarlini@suse.de>
PR c++/28743
* g++.dg/template/nontype17.C: New.
* g++.dg/template/nontype16.C: Add error.
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/nontype16.C
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/nontype17.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28743
More information about the Gcc-bugs
mailing list