------- Comment #1 from reichelt at gcc dot gnu dot org  2005-12-22 03:37 
-------
Confirmed. Reduced testcase:

========================================
template<typename> struct A
{
    struct X;
};

template<typename T> struct B : A<T>
{
    friend struct X;
    struct X {};
};
========================================

This causes a segfault with GCC 2.95.3 - GCC 3.3.6.
However, the bug is fixed since GCC 3.4.0.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-valid-code
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


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

Reply via email to