[LLVMbugs] [Bug 11756] New: Greedy Register Allocator crashes on compiling db5

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 13 01:55:40 PST 2012


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

             Bug #: 11756
           Summary: Greedy Register Allocator crashes on compiling db5
           Product: clang
           Version: 3.0
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: c.kworr at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When compiling Oracle (Berkeley) db5.2 clang crashes with:

./libtool --mode=compile clang -c -I. -I./../src  -D_THREAD_SAFE -O2 -pipe
-fno-strict-aliasing  ../src/db/partition.c
libtool: compile:  clang -c -I. -I./../src -D_THREAD_SAFE -O2 -pipe
-fno-strict-aliasing ../src/db/partition.c  -fPIC -DPIC -o .libs/partition.o
Assertion failed: (MI && "Missing def"), function traceSiblingValue, file
/usr/src/lib/clang/libllvmcodegen/../../../contrib/llvm/lib/CodeGen/InlineSpiller.cpp,
line 575.
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple i386-unknown-freebsd9.0
-emit-obj -disable-free -main-file-name partition.c -pic-level 2
-mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases
-target-cpu i486 -momit-leaf-frame-pointer -coverage-file .libs/partition.o
-resource-dir /usr/bin/../lib/clang/3.0 -D _THREAD_SAFE -D PIC -I . -I ./../src
-fmodule-cache-path /tmp/clang-module-cache -O2 -ferror-limit 19
-fmessage-length 128 -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option
-fcolor-diagnostics -o .libs/partition.o -x c ../src/db/partition.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module '../src/db/partition.c'.
4.      Running pass 'Greedy Register Allocator' on function '@__partc_get'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/partition-cRq8Ry.i
gmake: *** [partition.lo] Помилка 1

# clang -v
FreeBSD clang version 3.0 (branches/release_30 142614) 20111021
Target: i386-unknown-freebsd9.0
Thread model: posix

http://limbo.xim.bz/partition-cRq8Ry.i

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