Someone has caused regressions in gfortran

Steve Kargl sgk@troutmask.apl.washington.edu
Wed Sep 5 21:19:00 GMT 2007


On Wed, Sep 05, 2007 at 11:15:42PM +0200, Dominique Dhumieres wrote:
> I am not sure that the failure of do_3.F90 is (totally) linked
> to functions inlining. The reduced test case fails at -O2:
> 

(program snipped)

> [karma] f90/bug% gfc -w -ffree-line-length-none -fno-range-check -O2 do_3_red.F90
> [karma] f90/bug% a.out
> Abort

It's an inlining problem.  Add -fno-inline to the command line.

-- 
Steve



More information about the Fortran mailing list