[LLVMbugs] [Bug 1627] New: [PowerPC] Miscompilation of float selection including NaNs
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Aug 28 11:07:38 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1627
Summary: [PowerPC] Miscompilation of float selection including
NaNs
Product: new-bugs
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: leo.fink at gmx.net
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1094)
--> (http://llvm.org/bugs/attachment.cgi?id=1094)
C++ source code: main function
The attached code returns 1 when compiled on llvm-gcc4 with -O1 or greater,
which it shouldn't.
Subversion revision 41537, arch=ppc.
To reproduce in terminal:
$ /opt/llvm-gcc/bin/g++ main.cpp -O0 -o NaNTest
$ ./NaNTest
$ echo $?
0
$ /opt/llvm-gcc/bin/g++ main.cpp -O1 -o NaNTest
$ ./NaNTest
$ echo $?
1
--
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