RFR: 8295159: DSO created with -ffast-math breaks Java floating-point arithmetic

Andrew Haley aph at openjdk.org
Wed Oct 12 15:49:07 UTC 2022


On Wed, 12 Oct 2022 13:56:56 GMT, Andrew Haley <aph at openjdk.org> wrote:

> > This appears to be a 10 year old bug in gcc. Have we ever had any issues reported because of this?
> 
> That's what is so insidious about messing with the floating-point control word: all that happens is people get slightly inaccurate results, which they don't notice.

e.g. https://github.com/gevent/gevent/pull/1820 is for Python (SciPy) and adversely affects time to converge. I have no idea if other Java users have similar problems, but it's a bug that I'd like to go away.

-------------

PR: https://git.openjdk.org/jdk/pull/10661



More information about the build-dev mailing list