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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |10.3.1, 11.1.0, 12.0,
                   |                            |8.5.0, 9.3.1
      Known to work|                            |9.2.0

--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to Dave Love from comment #2)
> The manual says not to use -flto with -fwhole-program.  Is that misleading?

I guess the manual entry has a reason, but I do not know why the optimimzations
implied by these options should not be combined.

> I checked self-built gfortran 10.2.0 again, and it definitely works for me
> without -flto on Debian 10, but it fails with Red Hat devtoolset's 10.2.1 on
> RHEL7.  Odd...

I checked against gfortran 9.2.0, which works fine, whereas the current
development version 9.3.1 fails too.

The change likely happened in a newer developer version and was backported
to the release branches.

Reply via email to