Internal compiler error!

John Vaul J.A.Vaul@Bradford.ac.uk
Wed Sep 2 09:18:00 GMT 1998


Hello

I have just been playing around with the g++ compiler and have got the
following message:

test2.cpp: In function 'int main()':
test2.cpp:22: internal compiler error:
test2.cpp:22: please submit a full bug report.....

I have no idea what a full bug report is, but here goes:

System :

Processor:Intel 686 (400Mz)
Physical mem: 256M
Swap space: 127M
OS: Red Hat Linux 5.1 (2.0.34)
g++ compiler: gcc version egcs 2.90.27 980315 (egcs-1.0.2 release)

I was trying to compile the following program:

(hash)include <iostream>

int main()
{

  int i,j,k;
  double ex[200][200][200][200];
  double ey[200][200][200][200];
  double ez[200][200][200][200];
  double hx[200][200][200][200];
  double hy[200][200][200][200];
  double hz[200][200][200][200];

  for(k=0; k<1000; k++){
  for(j=0; j<1000; j++){
  for(i=1; i<1000; i++){
   
      ex[i][j][k][1]=ex[i][j][k][1]+(ey[i][j][k][1]+ey[i-1][j][k][1])/2.0

  }
  }
  }
}


As i have never used C before i suspect that i have made a boo-boo
somewhere along the line.

Apologizes if this is wasting your time.

John


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
John Andrew Vaul
Telecommunications Research Centre
University of Bradford
Richmond Road
BRADFORD
BD7 1DP
Tel:(01274) 232323 Ext 4127
email: j.a.vaul@brad.ac.uk

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!




More information about the Gcc-bugs mailing list