------- Additional Comments From reichelt at gcc dot gnu dot org  2004-11-16 
02:35 -------
More compact testcase:

==================================
template<int> struct A {};

struct B : A<0>
{
    void foo() { this->A<0>; }
};
==================================

This is really invalid code.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|ice-on-valid-code           |ice-on-invalid-code,
                   |                            |monitored
            Summary|[3.4/4.0 Regression] ICE on |[3.4/4.0 Regression] ICE on
                   |overriden template method   |invalid usage of template
                   |                            |base class


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

Reply via email to