Fortran CALL segfault

Fortran CALL segfault


I'm trying to compile CMFGEN ( using IFC 9.0 and while everything compile just fine I'm getting a segfault no matter what I do. Using the debugger it seems the segfault occur on every function CALL within a subroutine (cmfgen_sub.f):

Like this

If I copy the code directly inside however, it works.

But then the next call will cause a segfault

this function is called before by the main program (cmfgen.f) and works fine. But from within cmfgen_sub.f, it doesn't.

Am I missing something??

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