This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error in finish_function gcc version 2.96
- From: "Giovanni Bajo" <rasky at develer dot com>
- To: "Mark Weyer" <Mark dot Weyer at math dot uni-freiburg dot de>
- Cc: <gcc-bugs at gcc dot gnu dot org>
- Date: Thu, 12 May 2005 18:36:12 +0200
- Subject: Re: Internal compiler error in finish_function gcc version 2.96
- References: <20050512182545.A847@frege.mathematik.uni-freiburg.de>
Mark Weyer <Mark.Weyer@math.uni-freiburg.de> wrote:
> Command:
>
> gcc bug.cpp
>
> Output (indented):
>
> bug.cpp: In function `int _ ()':
> bug.cpp:1: parse error before `0'
> bug.cpp:1: Internal error #122.
> bug.cpp:1: Internal compiler error in finish_function, at
> ../gcc/cp/decl.c:14422
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>
> Version:
>
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.0)
Thank you, but gcc 2.96 is not even an official FSF version of GCC.
Moreover, GCC 2.x is totally unsupported at this point, since already 3-4
years at least. You should try updating to a newer GCC version, like the
stable 3.4.4 (to be released in a few days), or the brand new GCC 4.0.0.
With GCC 3.4.3, I get this error trying to compile bug.cc:
bug.cc: In function `int _()':
bug.cc:1: error: expected `(' before numeric constant
--
Giovanni Bajo