------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-25 
12:58 -------
Here's a similar example with valid code:

========================================
struct A
{
    template<int> struct B
    {
        void foo(const struct C&);
    };
};
========================================

GCC 4.0.0 is not affected - the problem was introduced between 4.0.0 and 4.0.1.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|minor                       |normal
           Keywords|                            |ice-on-valid-code, monitored
      Known to fail|4.1.0                       |4.0.1
      Known to work|3.4.4                       |3.4.4 4.0.0 4.1.0
            Summary|[4.0 Regression] internal   |[4.0.1 Regression] ICE in
                   |compiler error: in          |pop_binding, at cp/name-
                   |pop_binding, at cp/name-    |lookup.c:380
                   |lookup.c:380                |


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

Reply via email to