<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Assertion failed: (E->isRValue() && E->getType()->isIntegralOrEnumerationType()), function EvaluateIntegerOrLValue, file ExprConstant.cpp, line 4068."
   href="http://llvm.org/bugs/show_bug.cgi?id=15789">15789</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion failed: (E->isRValue() && E->getType()->isIntegralOrEnumerationType()), function EvaluateIntegerOrLValue, file ExprConstant.cpp, line 4068.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>cohara87@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10377" name="attach_10377" title="crash-Ilzh2e.c">attachment 10377</a> <a href="attachment.cgi?id=10377&action=edit" title="crash-Ilzh2e.c">[details]</a></span>
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*> >
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::pair<llvm::WeakVH,</span >
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*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**,</span >
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> >
<span class="quote">>::_M_erase(std::_Rb_tree_node<std::pair<clang::edit::FileOffset const,</span >
clang::edit::EditedSource::FileEdit> >*) + 3902
26 clang             0x000000010d9dacaa std::vector<clang::CompilerInstance*,
std::allocator<clang::CompilerInstance*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CompilerInstance**,</span >
std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*>
<span class="quote">> >, clang::CompilerInstance* const&) + 11528</span >
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>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*,</span >
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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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:

********************</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>