This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Feb 2018 16:36:49 +0000
- Subject: [Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math
- Auto-submitted: auto-generated
- References: <bug-84309-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84309
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Isn't this just an invalid test? I mean, when working with floating point,
especially when using -ffast-math, one needs to accept some inaccuracy.
Here we compute
0x1.ffffffffffff9p+11
which is 7ulps from the correct result, I'd say for -ffast-math that is within
the acceptability limit.