Hi,
I'm testing Fortran with 2003 features. Program compiles with no errors but crashes with a segmentation fault - invalid memory reference.
The program does what I expect, but crashes at the end .
Tested on 2 machines under Windows 7 with 32 bit and 64 bit. Using a 32-bit and 64 bit compiler version. But the program works fine using Intel Fortran Compiler.
the code is attached.
Thanks
sorry, here the compiler versions:
x64-4.8.1 release-posix-seh-rev5
the 32-bit version on the other machine is also 4.8.1
Hmm, does this issue still exists for you with recent gcc-version? It might be related to an already fixed issue in fesetenv. Otherwise you might want to report this issue on gcc's bugzilla. There are more fortran-experts to be found
Is it still not resolved in latest toolchains?
I cannot reproduce the bug on recent toolchains, so I suggest we close this bug report.
It works now, thanks
Detlef
Am 10.01.2017 um 11:44 schrieb FX: