[Bug c++/21685] [3.4/4.0/4.1 Regression] Internal compiler error on invalid code

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 23 10:11:00 GMT 2005


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-05-23 10:11 -------
More compact testcase:

===========================================
template<int> struct A
{
    void foo();
};

template<int N> void bar()
{
    A<N> a;
    struct B { B() { a.foo(); } } b;
}

template void bar<0>();
===========================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


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



More information about the Gcc-bugs mailing list