[Bug fortran/109865] different results when routine moved inside the contains statement

Gary.White at ColoState dot edu gcc-bugzilla@gcc.gnu.org
Tue May 16 15:55:51 GMT 2023


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

--- Comment #9 from GARY.WHITE at ColoState dot edu <Gary.White at ColoState dot edu> ---
Another clue.  I'm seeing the same bug in gfortran-13, except that I have to
use  -O0 for both cases of mc11ad.f90 in or out of the contains statement.

Similarly, if I put the set of va09ad.f90 routines in a module, I have to use
-O0 to get correct answers.  -O3 causes a bug with va09ad.f90 in a module as
well.


More information about the Gcc-bugs mailing list