This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5797: "GCC 3.04 produces internal error 108"
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, traveler at netti dot fi
- Date: 3 Mar 2002 18:14:37 -0000
- Subject: Re: c++/5797: "GCC 3.04 produces internal error 108"
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, traveler at netti dot fi, gcc-gnats at gcc dot gnu dot org
Synopsis: "GCC 3.04 produces internal error 108"
State-Changed-From-To: feedback->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sun Mar 3 10:14:36 2002
State-Changed-Why:
I can reproduce your error
(I need to change the typedef for size_t from "long unsigned int" to "unsigned int" in order to compile under Linux).
With gcc 3.1 20020217 (experimental), the code compiles, but I get the following warnings:
function.h:275: warning: `typename ArithmeticFunction<Type>::Overflow' is
implicitly a typename
function.h:275: warning: implicit typename is deprecated, please see the
documentation for details
function.h:275: warning: `typename ArithmeticFunction<Type>::Underflow' is
implicitly a typename
function.h:275: warning: implicit typename is deprecated, please see the
documentation for details
function.h:285: warning: `typename ArithmeticFunction<Type>::Overflow' is
implicitly a typename
function.h:285: warning: implicit typename is deprecated, please see the
documentation for details
function.h:285: warning: `typename ArithmeticFunction<Type>::Underflow' is
implicitly a typename
function.h:285: warning: implicit typename is deprecated, please see the
documentation for details
I can get rid of the warnings with the patch which I
have attached to this PR, jee.patch.txt,
but it still will not compile with gcc 3.0.4:
So, while this still looks like a problem in gcc 3.0.4,
it looks fixed in gcc 3.1 20020217 (experimental).
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5797