<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 fail (Value->isTypeDependent() || Value->isValueDependent())"
   href="http://llvm.org/bugs/show_bug.cgi?id=15554">15554</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>assertion fail (Value->isTypeDependent() || Value->isValueDependent())
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </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>C++
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>fang@csl.cornell.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Seen assertion failure in C++ front-end.
This is is running my powerpc-darwin8 branch, but probably affects all.

% /Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/clang++ -DHAVE_CONFIG_H
-I. -I../../bj-jedi-git/src -I/sw/include -O0 -MT bj/core/strategy.lo -MD -MP
-MF bj/core/.deps/strategy.Tpo -c ../../bj-jedi-git/src/bj/core/strategy.cc 
-fno-common -DPIC -o bj/core/.libs/strategy.o -save-temps
/Users/fang/local/src/LLVM-svn/llvm/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:350:
failed assertion `(Value->isTypeDependent() || Value->isValueDependent()) &&
"Expression template argument must be type- or value-dependent."'
Stack dump:
0.      Program arguments:
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/clang-3.1 -cc1 -triple
powerpc-apple-macosx10.4.0 -S -disable-free -main-file-name strategy.cc
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-coverage-file /Users/fang/local/src/bj-jedi/clang-build/src/strategy.s
-resource-dir
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/bin/../lib/clang/3.3 -O0
-fdeprecated-macro -fdebug-compilation-dir
/Users/fang/local/src/bj-jedi/clang-build/src -ferror-limit 19 -fmessage-length
80 -mstackrealign -fblocks -fblocks-runtime-optional
-fobjc-runtime=macosx-10.4.0 -fobjc-default-synthesize-properties
-fencode-extended-block-signature -fcxx-exceptions -fexceptions -fno-common
-fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops
-o strategy.s -x c++-cpp-output strategy.ii 
1.      <eof> parser at end of file
2.      /usr/include/c++/4.0.0/bits/stl_algobase.h:375:5: instantiating
function definition 'copy'
3.      /usr/include/c++/4.0.0/bits/stl_algobase.h:325:9: instantiating
function definition 'copy_n'
4.      /usr/include/c++/4.0.0/bits/stl_algobase.h:307:5: instantiating
function definition '__copy_aux'
5.      /usr/include/c++/4.0.0/bits/stl_algobase.h:280:9: instantiating
function definition 'copy'
clang-3.1: error: unable to execute command: Abort trap
clang-3.1: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 
Target: powerpc-apple-darwin8.11.0
Thread model: posix
clang-3.1: 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-3.1: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.1: note: diagnostic msg: /tmp/strategy-B63fyA.cpp
clang-3.1: note: diagnostic msg: /tmp/strategy-B63fyA.sh
clang-3.1: note: diagnostic msg: 

********************

Will post a compressed-but-unreduced test case shortly.</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>