[LLVMbugs] [Bug 3246] New: Assertion failure with inline assembly on PowerPC

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Dec 20 16:46:41 PST 2008


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

           Summary: Assertion failure with inline assembly on PowerPC
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: minor
          Priority: P2
         Component: parser
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: arplynn at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2326)
 --> (http://llvm.org/bugs/attachment.cgi?id=2326)
Simple C test-case.

On a PowerPC 32-bit system running Mac OS X 10.5, clang (invoked with clang
-emit-llvm-bc -std=c99 testcase.c -o=testcase.bc) dies from an assertion
failure with the following message with the attached testcase:

Assertion failed: (Verify(Ty, constraints) && "Function type not legal for
constraints!"), function InlineAsm, file InlineAsm.cpp, line 43.
0   clang             0x00d97cd4 std::_Rb_tree<llvm::sys::Path,
llvm::sys::Path, std::_Identity<llvm::sys::Path>, std::less<llvm::sys::Path>,
std::allocator<llvm::sys::Path> >::insert_unique(llvm::sys::Path const&) + 7652
1   libSystem.B.dylib 0x92ccb99c _sigtramp + 68
2   libSystem.B.dylib 0x010050b0 _sigtramp + 1848874840
3   libSystem.B.dylib 0x6273741c _sigtramp + 18446744072898394820

gcc-4.2 (invoked with gcc-4.2 -S -O0 -std=c99 -pipe testcase.c -o - | less)
correctly compiles the code.


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