https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu.org
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to anlauf from comment #3)
> Works here also with "-O -flto", fails with "-O0 -flto" (or "-Og -flto").
Does not work for me with -O -flto. The only thing consistent is inconsistency.
$ gfc -O -flto module1.f90 module2.f90 test.f90
$ ./a.out
STOP : FAILED