[Bug c++/18435] internal compiler error: in tsubst, at cp/pt.c:6646

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 13 00:33:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-11-13 00:33 -------
A reduced testcase is the following:

========================================
template<int,int> void foo();

template<void(*)()=foo<0,0> > struct A
{
    template<typename T> A(T);
};

A<> a(0);
========================================

The bug was already fixed in GCC 3.3.1.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.3.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18435



More information about the Gcc-bugs mailing list