[LLVMbugs] [Bug 10408] New: integer from floating-point done wrong
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 19 09:33:06 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10408
Summary: integer from floating-point done wrong
Product: new-bugs
Version: 2.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tydeman at tybor.com
CC: llvmbugs at cs.uiuc.edu
The C99 program:
http://www.tybor.com/tflt2int.c
fails because the compiler's code generation for conversions from
floating-point (FP) to integer is wrong. In some cases, some FP
exception flags are raised when no FP exceptions should happen.
In other cases, FP exception flags are not being raised when they
should happen.
Command line options: -std=c99 -fmath-errno -O0 -lm
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list