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: Internal compiler error in finish_function gcc version 2.96


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


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