Question

Michael I. Miga Michael.I.Miga@Dartmouth.EDU
Wed May 31 08:46:00 GMT 2000


Below is the program followed by the bug at compile time.  This should not be a
problem for my machine...the stack size is set to unlimited and I have 1 Gig of
Ram.  This array should only be about 600 Megs.  I have done some tests and the
program bails when the array gets above 264 megs +/- a little.

Any clues.. or any suggestions on a different fortran compiler? Does gcc have
the same bug?

Any help would be appreciated...

Thanks,
M


------------------------------------------------
       program test_arraysize
       real*8 AQ(30000*4*625)
       
       AQ(30000*4*625)=1
       
       write(*,*) AQ(30000*4*625)
       pause
       stop
       end
       

Results at compile with:  g77 -O -o test_arraysize test_arraysize.f

test_arraysize.f: In program `test_arraysize':
test_arraysize.f:2: 
          real*8 AQ(30000*4*625)
                 ^
Array `aq' at (^) is too large to handle


More information about the Gcc-bugs mailing list