Takahiro Kawashima (Fujitsu) <t-kawash...@fujitsu.com> wrote:
> I took a look. This is probably caused by a floating-point arithmetic error.
>
> The Fortran source program is 
> https://github.com/fujitsu/compiler-test-suite/blob/main/Fortran/0354/0354_0334.F90
>  . The compilation flags are `-O3 -ffast-math`.
>
> Changing `1.0E-6` to `1.0E-3` in the first line resolves this failure. Adding 
> `-fno-associative-math` also resolves this failure.
>
> If this floating-point arithmetic error is intended to occur, you don't need 
> to investigate it.

Thanks for investigating. Under `-ffast-math`, we're allowed to
reassociate floating-point ops, and indeed we do, so I think the
source code change is the right fix.

Warm regards,
Ram
_______________________________________________
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org

Reply via email to