How do I stop my Fortran program producing segfaults when -Ofast is used to compile the code?

My Fortran program runs correctly when the binary is built with armflang at -O3 level, but encounters a runtime crash or segfault with -Ofast optimization level.

Parents
No Data
Reply Children
No Data