This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error -- egcs 1.1b -- transforming with a function template
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error -- egcs 1.1b -- transforming with a function template
- From: Maciej Radziejewski <maciejr at iws dot uni-stuttgart dot de>
- Date: Tue, 22 Sep 1998 12:17:55 +0200
Hi,
I've stumbled upon one more internal compiler error in egcs release 1.1b.
This one has probably already been detected, since it bears a date.
The source, "trans.cpp":
#include <vector>
//#include <algo.h>
template<class T> T simple_function (T arg) { return arg; }
int main()
{
vector<int> V(4);
transform (V.begin(), V.end(), V.begin(), simple_function<int>);
}
The output of "g++ trans.cpp":
trans.cpp: In function `int main()':
trans.cpp:9: Internal compiler error 980715.
trans.cpp:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.
Info on my hardware/software:
I am using egcs 1.1b, --version == egcs-2.91.57.
The machine I am using is Pentium II 333 MHz, 64MB RAM,
Linux from Suse 5.3. distribution, displays 'Linux version 2.0.35 (gcc 2.7.2.1)'
when starting up, uses libc5.4.46 apparently.
When building egcs, I ran the configure script with no options. It has recognised
my platform as i686-pc-linux-gnulibc1 -- I suppose it is the same thing as libc5.
Then I did 'make bootstrap' and 'make install' as suggested in the instructions,
all options default.
Binutils version is 2.9.1.0.7, obtained as libc5 binaries and installed before
downloading egcs.
Thanks for the update on the last error.
All the best wishes,
Maciej.