This is the mail archive of the
mailing list for the GCC project.
Re: Internal compiler error
> Date: Tue, 04 Aug 1998 08:01:09 +0200
> From: Thomas Kunert <email@example.com>
> That's funny. For me it compiles without error.
> Reading specs from /opt/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.52/specs
> gcc version egcs-2.91.52 19980729 (gcc2 ss-980609 experimental)
Okay, I can now definitely confirm that the bug exists in the latest
1.1 branch on both linux and BSD. I compiled the latest egcs on
linux, and still see the problem:
% c++ -c ttinterr.C
ttinterr.C: In method `int foo<long int>::pub<int>(int)':
ttinterr.C:20: instantiated from here
ttinterr.C:11: Internal compiler error.
ttinterr.C:11: Please submit a full bug report to `firstname.lastname@example.org'.
% c++ -v
Reading specs from /usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.52/specs
gcc version egcs-2.91.52 19980803 (gcc2 ss-980609 experimental)
If the bug got fixed in the 7/29 snapshot, then it must subsequently
have been reintroduced.
I guess the other possibility is that you have a non-standard
installation, modified specs file, environment variable overridding
the default c++ version, or alias c++ 'c++ -fsomething-strange'. I
installed egcs with no customization. I did do some rudimentary
fiddling around with options (tried all levels of optimization and
-fno-exceptions), but always saw the bug.