This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13040] ICE in convert_nontype_argument


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]