https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #2 from kargl at gcc dot gnu.org ---
(In reply to Rimvydas (RJ) from comment #0)
> $ gfortran -Wall -Wextra -flto -fdefault-real-8 -c foo.f90
> $ gfortran -flto -Wall -Wextra foo.o bar.f90
This should be closed as WONTFIX. If you compile foo.f90
with -fdefault-real-8, then you must compile bar.f90 with
-fdefault-real-8. You're changing the ABI for foo.f90,
but not bar.f90.
> Does this mean -flto cannot be used in mixed -fdefault-real-8
> and usual modes?
It means "Don't use -fdefault-real-8". It is a broken
unfixable option that I tried to remove years ago, but
that was voted down.
If you have code that requires this option, then the
code should be properly ported to REAL(8).