c++/1808: Internal compiler error 390.
kanitkar@akamai.com
kanitkar@akamai.com
Mon Jan 29 18:56:00 GMT 2001
>Number: 1808
>Category: c++
>Synopsis: Internal compiler error 390.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Mon Jan 29 18:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: kanitkar@akamai.com
>Release: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>Organization:
>Environment:
Redhat Linux 6.1/Pentium III 450 MHz
>Description:
ahts.c: In function `int main()':
ahts.c:14: Internal compiler error 390.
ahts.c:14: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
ahts.c:14: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
>How-To-Repeat:
#include <fstream.h>
#include <iostream.h>
#include <map>
using namespace std;
map<int, int> dist;
int main(void)
{
int from;
ifstream fin2("data");
while(fin2 >> from >> distance){
dist.insert(pair<int, int>(from, distance));
}
fin2.close();
return 0;
}
>Fix:
Variable 'distance' should be declared.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list