Run-time seg fault on automatic allocation of array

Steve Kargl sgk@troutmask.apl.washington.edu
Mon Nov 8 06:45:00 GMT 2010


On Sun, Nov 07, 2010 at 09:48:33PM -0700, Rouson, Damian wrote:
> Given the code below, Gfortran 4.6.0 20100925 produces an executable that
> generates a seg fault.  Presumably this stems from the ongoing work on
> automatic (re)allocation of arrays.

Given that the automatic (re)allocation patch has not
been committed and gfortran is a Fortran 95 compiler
with some Fortran 2003 extension, your test case fails
due to programmer error.

-- 
Steve



More information about the Fortran mailing list