This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcc/59714] complex division is surprising on targets with FMA (was: on aarch64)
- From: "wilco at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Oct 2017 11:49:05 +0000
- Subject: [Bug libgcc/59714] complex division is surprising on targets with FMA (was: on aarch64)
- Auto-submitted: auto-generated
- References: <bug-59714-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59714
--- Comment #7 from Wilco <wilco at gcc dot gnu.org> ---
Btw this is also totally broken in libgcc2.c:
#define isnan(x) __builtin_expect ((x) != (x), 0)
#define isfinite(x) __builtin_expect (!isnan((x) - (x)), 1)
#define isinf(x) __builtin_expect (!isnan(x) & !isfinite(x), 0)