[LLVMbugs] [Bug 15554] New: assertion fail (Value->isTypeDependent() || Value->isValueDependent())

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 20 14:03:39 PDT 2013


            Bug ID: 15554
           Summary: assertion fail (Value->isTypeDependent() ||
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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
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
/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
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
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.1: note: diagnostic msg: 

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.

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/20130320/0e427abc/attachment.html>

More information about the llvm-bugs mailing list