[LLVMbugs] [Bug 15789] New: Assertion failed: (E->isRValue() && E->getType()->isIntegralOrEnumerationType()), function EvaluateIntegerOrLValue, file ExprConstant.cpp, line 4068.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 19 02:28:27 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15789
Bug ID: 15789
Summary: Assertion failed: (E->isRValue() &&
E->getType()->isIntegralOrEnumerationType()), function
EvaluateIntegerOrLValue, file ExprConstant.cpp, line
4068.
Product: clang
Version: 3.2
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: cohara87 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10377
--> http://llvm.org/bugs/attachment.cgi?id=10377&action=edit
crash-Ilzh2e.c
Assertion failed: (E->isRValue() &&
E->getType()->isIntegralOrEnumerationType()), function EvaluateIntegerOrLValue,
file ExprConstant.cpp, line 4068.
0 clang 0x000000010e8a13ff char const* std::__find<char const*,
char>(char const*, char const*, char const&, std::random_access_iterator_tag) +
3585
1 clang 0x000000010e8a1791 char const* std::__find<char const*,
char>(char const*, char const*, char const&, std::random_access_iterator_tag) +
4499
2 libsystem_c.dylib 0x00007fff8b438cfa _sigtramp + 26
3 libsystem_c.dylib 0x00007f8a090257b0 _sigtramp + 18446743569013066448
4 clang 0x000000010e8a1614 char const* std::__find<char const*,
char>(char const*, char const*, char const&, std::random_access_iterator_tag) +
4118
5 clang 0x000000010e8a15e2 char const* std::__find<char const*,
char>(char const*, char const*, char const&, std::random_access_iterator_tag) +
4068
6 clang 0x000000010e1748b7
clang::operator==(clang::specific_attr_iterator<clang::UuidAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::UuidAttr, llvm::SmallVector<clang::Attr*,
2u> >) + 92626
7 clang 0x000000010e1746a4
clang::operator==(clang::specific_attr_iterator<clang::UuidAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::UuidAttr, llvm::SmallVector<clang::Attr*,
2u> >) + 92095
8 clang 0x000000010e17f974
clang::operator==(clang::specific_attr_iterator<clang::UuidAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::UuidAttr, llvm::SmallVector<clang::Attr*,
2u> >) + 137871
9 clang 0x000000010e16445d
clang::operator==(clang::specific_attr_iterator<clang::UuidAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::UuidAttr, llvm::SmallVector<clang::Attr*,
2u> >) + 25976
10 clang 0x000000010e163a90
clang::operator==(clang::specific_attr_iterator<clang::UuidAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::UuidAttr, llvm::SmallVector<clang::Attr*,
2u> >) + 23467
11 clang 0x000000010e15fe21
clang::operator==(clang::specific_attr_iterator<clang::UuidAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::UuidAttr, llvm::SmallVector<clang::Attr*,
2u> >) + 7996
12 clang 0x000000010e15fd8b
clang::operator==(clang::specific_attr_iterator<clang::UuidAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::UuidAttr, llvm::SmallVector<clang::Attr*,
2u> >) + 7846
13 clang 0x000000010db2c5a1
clang::operator==(clang::specific_attr_iterator<clang::InitPriorityAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::InitPriorityAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 145722
14 clang 0x000000010db2e2ef
clang::operator==(clang::specific_attr_iterator<clang::InitPriorityAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::InitPriorityAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 153224
15 clang 0x000000010db2c1b5
clang::operator==(clang::specific_attr_iterator<clang::InitPriorityAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::InitPriorityAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 144718
16 clang 0x000000010db2bf4b
clang::operator==(clang::specific_attr_iterator<clang::InitPriorityAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::InitPriorityAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 144100
17 clang 0x000000010db8b039
clang::operator==(clang::specific_attr_iterator<clang::NoInstrumentFunctionAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::NoInstrumentFunctionAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 20642
18 clang 0x000000010db88b3c
clang::operator==(clang::specific_attr_iterator<clang::NoInstrumentFunctionAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::NoInstrumentFunctionAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 11173
19 clang 0x000000010db8a1c1
clang::operator==(clang::specific_attr_iterator<clang::NoInstrumentFunctionAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::NoInstrumentFunctionAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 16938
20 clang 0x000000010db8e078
clang::operator==(clang::specific_attr_iterator<clang::NoInstrumentFunctionAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::NoInstrumentFunctionAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 32993
21 clang 0x000000010dba3283 std::vector<std::pair<llvm::WeakVH,
llvm::Constant*>, std::allocator<std::pair<llvm::WeakVH, llvm::Constant*> >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::pair<llvm::WeakVH,
llvm::Constant*>*, std::vector<std::pair<llvm::WeakVH, llvm::Constant*>,
std::allocator<std::pair<llvm::WeakVH, llvm::Constant*> > > >,
std::pair<llvm::WeakVH, llvm::Constant*> const&) + 3935
22 clang 0x000000010db81213 llvm::ParseIR(llvm::MemoryBuffer*,
llvm::SMDiagnostic&, llvm::LLVMContext&) + 969
23 clang 0x000000010dbaf24e
clang::operator==(clang::specific_attr_iterator<clang::MBlazeInterruptHandlerAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::MBlazeInterruptHandlerAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 835
24 clang 0x000000010db80b1d std::vector<clang::CXXRecordDecl
const*, std::allocator<clang::CXXRecordDecl const*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**,
std::vector<clang::CXXRecordDecl const*, std::allocator<clang::CXXRecordDecl
const*> > >, clang::CXXRecordDecl const* const&) + 5105
25 clang 0x000000010d9f2a5a std::_Rb_tree<clang::edit::FileOffset,
std::pair<clang::edit::FileOffset const, clang::edit::EditedSource::FileEdit>,
std::_Select1st<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >, std::less<clang::edit::FileOffset>,
std::allocator<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >
>::_M_erase(std::_Rb_tree_node<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >*) + 3902
26 clang 0x000000010d9dacaa std::vector<clang::CompilerInstance*,
std::allocator<clang::CompilerInstance*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CompilerInstance**,
std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*>
> >, clang::CompilerInstance* const&) + 11528
27 clang 0x000000010d9b1fe6 std::_Rb_tree<std::string, std::string,
std::_Identity<std::string>, std::less<std::string>,
std::allocator<std::string> >::_M_insert(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, std::string const&) + 3628
28 clang 0x000000010d9ac216 _mh_execute_header + 4630
29 clang 0x000000010d9af33c std::vector<std::string,
std::allocator<std::string>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >, std::string const&) +
1192
30 clang 0x000000010d9abf34 _mh_execute_header + 3892
Stack dump:
0. Program arguments: /usr/local/Cellar/llvm/3.2/bin/clang -cc1 -triple
x86_64-apple-macosx10.7.0 -emit-obj -mrelax-all -disable-free -main-file-name
crash.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 134.9 -resource-dir
/usr/local/Cellar/llvm/3.2/bin/../lib/clang/3.2 -fmodule-cache-path
/var/folders/yp/j3l1fw9n14vd35yrtknnh_km0000gn/T/clang-module-cache
-fdebug-compilation-dir /Users/chris/Downloads -ferror-limit 19
-fmessage-length 238 -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.7.0 -fobjc-dispatch-method=mixed
-fobjc-default-synthesize-properties -fencode-extended-block-signature
-fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/yp/j3l1fw9n14vd35yrtknnh_km0000gn/T/crash-5Rb2nx.o -x c crash.c
1. <eof> parser at end of file
2. crash.c:4:9: LLVM IR generation of declaration 'vector'
3. crash.c:4:9: Generating code for declaration 'vector'
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (tags/RELEASE_32/final)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/yp/j3l1fw9n14vd35yrtknnh_km0000gn/T/crash-Ilzh2e.c
clang: note: diagnostic msg:
/var/folders/yp/j3l1fw9n14vd35yrtknnh_km0000gn/T/crash-Ilzh2e.sh
clang: note: diagnostic msg:
********************
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130419/57ed7f0f/attachment.html>
More information about the llvm-bugs
mailing list