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]

Re: c++/9175: Internal error, seg fault on compile


Synopsis: Internal error, seg fault on compile

State-Changed-From-To: analyzed->closed
State-Changed-By: bajo
State-Changed-When: Mon May  5 10:27:57 2003
State-Changed-Why:
    Boils down to:
    
    ----------------------------------------------
    template <class>
    struct Foo
    {
        typedef int int_type;
    };
    
    
    template <class T>
    Foo<T>::int_type<T> func1(Foo<T>::int_type c)
    {}
    ----------------------------------------------
    
    which ICEs 2.95 -> 3.3, but it's fixed in 3.4. Since it's
    not a regression, I close the PR.
    The error message in 3.4 should be heavily improved, and
    we already had a PR for a very similar situation (c++/10618)
    to which I just added this code snippet as a further
    testcase.

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


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