------- Comment #3 from rguenth at gcc dot gnu dot org  2007-02-22 09:35 -------
This is a regression on the 4.1 branch.  For reference, the valid testcase is

class QGList;
unsigned count()
{
  class QGListIterator {
    friend class QGList;
    QGListIterator( const QGList & );
  };
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.1.2 4.3.0
      Known to work|                            |4.1.1 4.0.4
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-22 09:35:53
               date|                            |
            Summary|[4.3 Regression] ICE with   |[4.1/4.2/4.3 Regression] ICE
                   |friend in local class (to a |with friend in local class
                   |function)                   |(to a function)
   Target Milestone|4.3.0                       |4.1.3


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

Reply via email to