This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1808: Internal compiler error 390.
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1808: Internal compiler error 390.
- From: kanitkar at akamai dot com
- Date: 30 Jan 2001 02:54:09 -0000
- Reply-To: kanitkar at akamai dot com
>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: