[Bug c++/13040] ICE in convert_nontype_argument

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 13 16:14:00 GMT 2003


------- Additional Comments From bangerth at dealii dot org  2003-11-13 16:14 -------
Confirmed. Here's something smaller:
--------------------
template<class Derived>
struct B {
    template <class> void foo();

    template<void (Derived::*)() = &B::template foo<int> >
    struct S {};
};

class D : public B<D>
{
    typedef typename S<> T;
};
--------------------

This ICEs every compiler I have up to and including mainline.

W.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-13 16:14:38
               date|                            |
            Summary|Internal compiler error     |ICE in
                   |                            |convert_nontype_argument


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



More information about the Gcc-bugs mailing list