[LLVMbugs] [Bug 12987] New: All compilations fail with void llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**): Assertion `VP.getPointer() == Next->VP.getPointer() && "Added to wrong list?"' failed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 30 05:54:18 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12987
Bug #: 12987
Summary: All compilations fail with void
llvm::ValueHandleBase::AddToExistingUseList(llvm::Valu
eHandleBase**): Assertion `VP.getPointer() ==
Next->VP.getPointer() && "Added to wrong list?"'
failed
Product: clang
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: matthieu.brucher at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
All compilations fail on my box (Westmere + SUSE11 SP1) when optimizations are
active.
A simple code sample like :
#include <iostream>
#include <map>
int main(int argc, char** argv)
{
std::map<int, int> mymap;
mymap[0] = 1;
mymap[2] = 1;
return 0;
}
makes clang crash:
clang-3.1:
/appli_RD/INNO_REPOSITORY/binaries/x86_64_rostand/src/llvm-3.1.src/lib/VMCore/Value.cpp:485:
void llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**):
Assertion `VP.getPointer() == Next->VP.getPointer() && "Added to wrong list?"'
failed.
Stack dump:
0. Program arguments:
/workdev/INNO/Brucher/x86_64/Linux/SUSE11.1/bin/clang-3.1 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-main-file-name test.cpp -mrelocation-model static -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64
-momit-leaf-frame-pointer -resource-dir
/workdev/INNO/Brucher/x86_64/Linux/SUSE11.1/bin/../lib/clang/3.1
-fmodule-cache-path /var/tmp/clang-module-cache -I
/data_local/sw/epd-7.0-2-rh5-x86_64/include -I
/appli_RD/INNO_REPOSITORY/binaries/x86_64/Linux/SUSE11.1/include -I
/data_local/sw/sgi/mpt/mpt-2.04/include -I
/data_local/sw/intel/composer_xe_2011_sp1.8.273/mkl/include -I
/data_local/sw/intel/composer_xe_2011_sp1.8.273/tbb/include -internal-isystem
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../include/c++/4.3
-internal-isystem
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../include/c++/4.3/x86_64-suse-linux
-internal-isystem
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../include/c++/4.3/backward
-internal-isystem /usr/local/include -internal-isystem
/workdev/INNO/Brucher/x86_64/Linux/SUSE11.1/bin/../lib/clang/3.1/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O3
-fdeprecated-macro -fdebug-compilation-dir /workdev/INNO/Brucher/temp
-ferror-limit 19 -fmessage-length 315 -mstackrealign -fgnu-runtime
-fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
/tmp/test/zvRBT8.o -x c++ test.cpp
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module 'test.cpp'.
clang-3: error: unable to execute command: Aborted (core dumped)
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang-3: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang-3: note: diagnostic msg: Preprocessed source(s) and associated run
script(s) are located at:
clang-3: note: diagnostic msg: /tmp/test/YoolHD.ii
clang-3: note: diagnostic msg: /tmp/test/YoolHD.sh
Fresh install of LLVM and CLANG 3.1. LLVM passes without a failure, clang does
not:
Testing Time: 197.94s
********************
Failing Tests (3):
Clang :: CodeGen/debug-line-1.c
Clang :: CodeGenCXX/new-array-init-exceptions.cpp
Clang :: CodeGenObjC/exceptions.m
Expected Passes : 4497
Expected Failures : 27
Unexpected Failures: 3
1 warning(s) in tests.
--
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