[Bug 487576] New: GLIBC: On x86-64, some math functions don't produce SIGFPE
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
https://bugzilla.novell.com/show_bug.cgi?id=487576
User burnus@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=487576#c1
--- Comment #1 from Tobias Burnus
Compiling the following program with gcc -m32 -fsignaling-nans test.c
Missed: "-lm": gcc -m32 -fsignaling-nans test.c -lm -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=487576
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=487576
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487576#c2
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=487576
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487576#c3
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=487576
User burnus@gmx.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=487576#c4
--- Comment #4 from Tobias Burnus
participants (1)
-
bugzilla_noreply@novell.com