https://bugzilla.novell.com/show_bug.cgi?id=487576
Summary: GLIBC: On x86-64, some math functions don't produce
SIGFPE
Classification: openSUSE
Product: openSUSE 11.2
Version: Factory
Platform: x86-64
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: burnus@gmx.de
QAContact: qa@suse.de
Found By: ---
Compiling the following program with
gcc -m32 -fsignaling-nans test.c
and running it produces the expected SIGFPE. However, using "-m64" (x86-64)
does not produce a signal and returns a normal NaN. Same result for e.g. acos
while sqrt and acosh give a SIGFPE even on x86-64.
-----------------<cut>--------------------
#ifndef __SUPPORT_SNAN__
# error No SNAN support - use "-fsignaling-nans"
#endif
#define _WANT_SNAN 1
#include