This is the mail archive of the gcc-prs@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]

Re: c++/8660: template overloading ICE in tsubst_expr, at cp/pt.c:7644


Synopsis: template overloading ICE in tsubst_expr, at cp/pt.c:7644

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Nov 20 11:05:57 2002
State-Changed-Why:
    Confirmed. At least one case has been fixed on mainline
    in the meantime (but is still present in 3.2.1), namely the
    last one you mention (with parentheses, declarations swapped):
    struct BadgerBuf
    {
        template<class B>
        void ReadPod();
        void ReadPod();
    };
    
    void BadgerBuf::ReadPod ()
    { (ReadPod<int>) (); }
    
    However, the other ICEs still exist.
    
    I can reproduce all these ICEs with 2.95, so it is not a
    regression, although I would love to see this fixed soon
    anyway since it seems like a not so uncommon idiom.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8660


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