[LLVMbugs] [Bug 4434] New: ICE with inline FP asm with llvm-gcc/llvm 2.6svn

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jun 23 12:41:49 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4434

           Summary: ICE with inline FP asm with llvm-gcc/llvm 2.6svn
           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=3116)
 --> (http://llvm.org/bugs/attachment.cgi?id=3116)
source file

llvm-gcc -O2 -pipe -g -DLIBC_SCCS -DSYSLIBC_SCCS -I/usr/src/lib/libc/include
-DAPIWARN
 -DYP -I/usr/src/lib/libc/yp -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/gdtoa
-I/usr/src/lib/libc/arch/i386/gdtoa -DINFNAN_CHECK -DMULTIPLE_THREADS
-DNO_FENV_H -DUSE_LOCALE -I/usr/src/lib/libc -DRESOLVSORT -DPOSIX_MISTAKE
-DFLOATING_POINT -DNLS   -c /usr/src/lib/libc/arch/i386/gen/ldexp.c -o ldexp.o
assertion "Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP register!""
failed: file

"/usr/obj/ports/llvm-2.6pre20090621p0/llvm-2.6pre20090621/lib/Target/X86/X86FloatingPoint.cpp",
line 176, function "getFPReg"
/usr/src/lib/libc/arch/i386/gen/ldexp.c:53: internal compiler error: Abort trap

gcc version 4.2.1 (Based on Apple Inc. build 5646) (LLVM build)
Low Level Virtual Machine (http://llvm.org/):
  llvm version 2.6svn
  Optimized build with assertions.
  Built Jun 23 2009(10:50:32).

#define __GNUC__ 4
is automatically defined by llvm-gcc in this case, so it takes the first
codepath.


-- 
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