This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++ internal error 122 (Was: Re: Long branches with egcs 2.91.66 on LinuxPPC with -O2)
- To: "Rainer M. Schmid" <rms at trolltech dot com>
- Subject: C++ internal error 122 (Was: Re: Long branches with egcs 2.91.66 on LinuxPPC with -O2)
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 27 Oct 2000 10:26:09 -0700
- CC: gcc-bugs at gcc dot gnu dot org
- References: <20001027140650.D28202@trolltech.com>
I believe that this bug is specific to that LinuxPPC release, that is
it wasn't in stock egcs 1.1.x, and it's not in current GCC. I
recommend you upgrade to a later compiler, perhaps the one in LinuxPPC
2000 will work for you.
With current GCC, your file produces:
/opt/qt2/include/qgarray.h: At global scope:
/opt/qt2/include/qgarray.h:108: syntax error before ':' token
/opt/qt2/include/qgarray.h:113: ISO C++ forbids declaration of `index' with no
type
followed by many other error messages, then:
/opt/qt2/include/qmap.h: In member function `int QMapIterator<K, T>::dec()':
/opt/qt2/include/qmap.h:140: parse error before ';' token
/opt/qt2/include/qmap.h:143: Internal error #122.
/opt/qt2/include/qmap.h:143: Internal compiler error in , at cp/decl.c:14271
Please submit a full bug report.
which is also an bug but a less serious one.
--
- Geoffrey Keating <geoffk@cygnus.com>