[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.

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 15 22:13:08 GMT 2021


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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
We need
1) Course code and input file
2) Expected output generated by g77 on Windows 10.  Command line used to
   compile code.
3) Output you go on Mac.

With gfortran, try compiling with -fcheck=all -ffpe-trap=zero,invalid


More information about the Gcc-bugs mailing list