I am using the latest: Fortran Compiler XE 18.104.22.168
The program I am working on has started unexpectedly crashing when compiled in optimized release mode. However, when compiled in debug mode, there are no errors or warnings. I have spent a day debugging, and I was able to isolate the portion of the code where the problem occurs. This code is very unstable, and doing a trivial change can make the problem go away.
Attached is the source code, project, and output BuildLog files. When compiled in release mode, the program crashes with:
forrtl: severe (157): Program Exception - access violation