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: paolo at gcc dot gnu dot org
- 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: 4 Jan 2003 22:02:37 -0000
- Subject: Re: c++/9175: Internal error, seg fault on compile
- Reply-to: paolo at gcc dot gnu dot org, 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: open->analyzed
State-Changed-By: paolo
State-Changed-When: Sat Jan 4 14:02:37 2003
State-Changed-Why:
ICE on 3.2 and 3.3, /not/ on 3.4, which issues:
Debug.cpp:45: error: expected function-definition
The code is indeed illegal and if corrected as
...
template<class CharT>
typename Debug<CharT>::int_type
overflow ( typename Debug<CharT>::int_type c )
...
may be successfully compiled with 3.0.4 too.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9175