[Bug tree-optimization/92558] [10 Regression] Miscompare of 554.roms_r with -Ofast -march=znver2 -flto since r278289

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 18 10:11:00 GMT 2019


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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> Will look.

Thanks, there's a code snippet which is different before and after the
revision. Hopefully, it can be used for a reproducer creation:

$ cat set.f90
      USE mod_scalars
      real(r16) wsum, cff
      DO i=1,nfast0
        wsum=wsum+weight(1,i,ng)
        cff=cff+weight(2,i,ng)
      END DO
      DO i=1,nfast0
        weight=wsum*cff
      END DO
        END


More information about the Gcc-bugs mailing list