[LLVMbugs] [Bug 4331] New: Floating point ICE with llvm-gcc 2.5

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jun 4 22:12:36 PDT 2009


           Summary: Floating point ICE with llvm-gcc 2.5
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jsg at openbsd.org
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=3065)
 --> (http://llvm.org/bugs/attachment.cgi?id=3065)
preprocessed output

llvm on OpenBSD/i386 -current with llvm-gcc 2.5 fails to compile
s_fmin.c/s_fminf.c/s_fminl.c in libm.

For example

llvm-gcc (GCC) 4.2.1 (Based on Apple Inc. build 5636) (LLVM build)

llvm-gcc -O2 -pipe -g   -I/usr/src/lib/libm/src -I/usr/src/lib/libm/src/ld80 -c
/usr/src/lib/libm/src/s_fmin.c -o s_fmin.o
assertion "Op.isUse() && (Op.isKill() || getFPReg(Op) == FirstFPRegOp ||
MI->killsRegister(Op.getReg())) && "Ret only defs operands, and values aren't
live beyond it"" failed: file
line 1072, function "handleSpecialFP"
/usr/src/lib/libm/src/s_fmin.c:49: internal compiler error: Abort trap

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