[LLVMbugs] [Bug 13806] New: Assertion failed when trying to emit a PCH: /home/eien/dev/llvm/include/llvm/Bitcode/BitstreamWriter.h:123: void llvm::BitstreamWriter::Emit(uint32_t, unsigned int): Assertion `(Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 10 07:15:09 PDT 2012


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

             Bug #: 13806
           Summary: Assertion failed when trying to emit a PCH:
                    /home/eien/dev/llvm/include/llvm/Bitcode/BitstreamWrit
                    er.h:123: void llvm::BitstreamWriter::Emit(uint32_t,
                    unsigned int): Assertion `(Val & ~(~0U >>
                    (32-NumBits))) == 0 && "High bits set!"' failed.
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: eiennohito at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


clang: /home/eien/dev/llvm/include/llvm/Bitcode/BitstreamWriter.h:123: void
llvm::BitstreamWriter::Emit(uint32_t, unsigned int): Assertion `(Val & ~(~0U >>
(32-NumBits))) == 0 && "High bits set!"' failed.
0  clang           0x0000000001cd6c82
1  clang           0x0000000001cd70d4
2  libpthread.so.0 0x00002b7f4010e030
3  libc.so.6       0x00002b7f40cf2475 gsignal + 53
4  libc.so.6       0x00002b7f40cf56f0 abort + 384
5  libc.so.6       0x00002b7f40ceb621 __assert_fail + 241
6  clang           0x00000000006969dc
7  clang           0x0000000000696305
8  clang           0x0000000000699bd6
9  clang           0x00000000007bb919
clang::ASTWriter::WriteSubStmt(clang::Stmt*, llvm::DenseMap<clang::Stmt*,
unsigned long, llvm::DenseMapInfo<clang::Stmt*> >&,
llvm::DenseSet<clang::Stmt*, llvm::DenseMapInfo<clang::Stmt*> >&) + 809
10 clang           0x00000000007bb8eb
clang::ASTWriter::WriteSubStmt(clang::Stmt*, llvm::DenseMap<clang::Stmt*,
unsigned long, llvm::DenseMapInfo<clang::Stmt*> >&,
llvm::DenseSet<clang::Stmt*, llvm::DenseMapInfo<clang::Stmt*> >&) + 763
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-pch -disable-free -main-file-name stdafx.h
-mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-target-feature +sse4.1 -target-linker-version 2.22 -momit-leaf-frame-pointer
-g -resource-dir /usr/local/bin/../lib/clang/3.2 -D USE_BOOST -D USE_MPI -D
BICG -D DIAG -D DO_FULL_ITERATIONS -I /usr/local/include -I
/opt/intel/mkl/include -I /usr/lib/openmpi/include -I /include -I
/home/eien/dev/plasticity/parallel_solvers -I /home/eien/dev/plasticity/common
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.2/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O0 -std=c++0x -fdeprecated-macro
-fdebug-compilation-dir /home/eien/dev/plast-clang/common -ferror-limit 19
-fmessage-length 80 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
/home/eien/dev/plast-clang/common/stdafx.h.pch -x c++-header
/home/eien/dev/plasticity/common/stdafx.h 
1.    <eof> parser at end of file
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 163501)
Target: x86_64-unknown-linux-gnu
Thread model: posix

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