[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one compiled by gfortran being wrong.

Bahram.shahrooz at uc dot edu gcc-bugzilla@gcc.gnu.org
Sat Jan 16 00:41:56 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701

--- Comment #4 from Bahram.shahrooz at uc dot edu ---
I compiled with the suggested options (below) and now the code gives the same
result as g77.

-fcheck=all -ffpe-trap=zero,invalid

Things look good now!

Sorry for starting this bug report prematurely, and many thanks for your
help!!!


More information about the Gcc-bugs mailing list