This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-1.0.2, i686 & alpha, internal compiler error
- To: egcs-bugs at cygnus dot com
- Subject: egcs-1.0.2, i686 & alpha, internal compiler error
- From: Reece Kimball Hart <reece at dasher dot wustl dot edu>
- Date: Tue, 9 Jun 1998 00:02:59 -0500 (CDT)
- Reply-To: Reece Kimball Hart <reece at dasher dot wustl dot edu>
Cheers. gcc told me to submit this while I was tormenting it with my lame
attempts to learn a little STL. I have no doubt that I fed it garbage.
Systems (same behavior on both)
1. pgcc-2.90.27 980315 (egcs-1.0.2 release)
../configure --host=i686-pc-linux-gnu --norecursion
RedHat 5.0, glibc 2
Note that this is egcs with the pentium group patches.
2. egcs-2.90.27 980315 (egcs-1.0.2 release)
../configure --host=alphaev5-dec-osf4.0 --norecursion
$ g++ list.C -o list
list.C: In function `int main(int, char **, char **)':
list.C:19: Internal compiler error.
list.C:19: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make: *** [list] Error 1
make: Target `default' not remade because of errors.
list.C<<
#include <ostream.h>
#include <list>
int main(int argc, char* argv[], char* env[])
{
list<double> dl;
cout << dl.size() << endl;
dl.push_front(0.1);
cout << dl.size() << endl;
dl.push_front(0.2);
cout << dl.size() << endl;
dl.push_front(0.3);
cout << dl.size() << endl;
for( list<double>::const_iterator it = dl.begin();
it != dl.end();
it++ )
{
cout << static_cast<double>(it).data << endl;
}
}
>>list.C
Thanks for egcs!
Reece
--
Reece Hart, http://dasher.wustl.edu/~reece/, PGP:0xD178AAF9
Do not send unsolicited bulk email. Boycott companies which do so.