forrtl: severe (157): Program Exception - access violation

forrtl: severe (157): Program Exception - access violation

Hi, I got this run error at line 2: "call mysub(...)".

line 1 print gives " 37617776 u1: 33423424"

debug at line 30 gives:

d=1 LOC(x0) = 33423424, LOC(x1)=2147348480

It looks like something wrong at passing arguments

Does anyone know what may cause this?

thanks a bunch!

--------------------------------------------------

1: print *, LOC(u0), ' u1=', LOC(u1)

2: call mysub(1,u0,u1, n)

........................

30: subroutine mysub(d, x0,x1,p)

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.