Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22145

Gfortran: Non-backwards compatibility

$
0
0

I have some legacy Fortran code (Several hundreds of lines long). The code works fine in older versions of GCC (6.3) at the uni, but on newer versions it returns NaN.

What options can I add to modern gfortran (Not installing an old version) for potentially fixing this issue.

What I've tried: -std=legacy and -m32,-mpc32. (Since I'm not sure whether the working compiler is 32 or 64 bits) All return NaN (-m32 is also slow)


Viewing all articles
Browse latest Browse all 22145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>