This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9175: Internal error, seg fault on compile
- From: giovannibajo at libero dot it
- To: at at sources dot redhat dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, stephan at sources dot redhat dot com
- Date: 5 May 2003 10:27:58 -0000
- Subject: Re: c++/9175: Internal error, seg fault on compile
- Reply-to: giovannibajo at libero dot it, at at sources dot redhat dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, stephan at sources dot redhat dot com, gcc-gnats at gcc dot gnu dot org
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