On Fri, 12 Mar 2021, David Aldrich via Gcc-help wrote:
We have observed that the results of some floating point calculations change when compiler flag: -march=native is used. This can happen even for relatively simple expressions such as: x*x+y*y where x and y are double precision. The observed difference is in the least significant bit of the mantissa, which suggests a rounding issue. Is this expected behaviour?
Yes, see -ffp-contract= in the doc. -- Marc Glisse