On Fri, Mar 10, 2023 at 07:01:29PM +0100, Richard Biener via Fortran wrote: > > > > Am 10.03.2023 um 18:54 schrieb Thomas Koenig via Fortran > > <fort...@gcc.gnu.org>: > > > > Hello world, here's the patch that was discussed. > > > > Regression-tested. OK for trunk? > > > > Since this appeared only in gcc13, I see no need for a backport. > > I will also document this in the changes file. > > The „problem“ is latent forever, I’m not sure it’s good to > amend the kitchen-sink std=legacy option with -fwrapv since > that has quite some negative effects on optimization.
In that case, it would then seem logical to remove whatever patch was added to -O3 that causes the massive regression with rnflow.f90 and add it instead to -Ofast. -Ofast at least hints that is unsafe to use. -- Steve