[LLVMbugs] [Bug 9154] New: Assertion failed: (getCost() == C && "Cost exceeds InlineCost precision")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 6 03:14:59 PST 2011


           Summary: Assertion failed: (getCost() == C && "Cost exceeds
                    InlineCost precision")
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu

This looks like a random crash building python's cmath module on FreeBSD/i386.

llvm/clang r124977, this is a fairly recent regression.

% /usr/local/llvm2/bin/clang -c -O2 059.i
Assertion failed: (getCost() == C && "Cost exceeds InlineCost precision"),
function InlineCost, file
line 74.
Stack dump:
0.    Program arguments: /usr/local/llvm2/bin/clang -cc1 -triple
i386-unknown-freebsd8.1 -emit-obj -disable-free -main-file-name 059.i
-mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-target-cpu i486 -target-linker-version 2.15 -momit-leaf-frame-pointer
-resource-dir /usr/local/llvm2/bin/../lib/clang/2.9 -O2 -ferror-limit 19
-fmessage-length 80 -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics
-o 059.o -x cpp-output 059.i 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module '059.i'.
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 1 (use -v to see

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