<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 `cast<ConstantArrayType>(E->getType())->getSize() - 1 == FunctionName.size() && "Computed __func__ length differs from type!"'"
href="http://llvm.org/bugs/show_bug.cgi?id=21303">21303</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed `cast<ConstantArrayType>(E->getType())->getSize() - 1 == FunctionName.size() && "Computed __func__ length differs from type!"'
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</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>odtihmal@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>This appears in stable and master branch.
clang-3.4: /llvm/tools/clang/lib/CodeGen/CGExpr.cpp:1984:
clang::CodeGen::LValue
clang::CodeGen::CodeGenFunction::EmitPredefinedLValue(const
clang::PredefinedExpr*): Assertion
`cast<ConstantArrayType>(E->getType())->getSize() - 1 == FunctionName.size() &&
"Computed __func__ length differs from type!"' failed.
0 clang-3.4 0x093e655c llvm::sys::PrintStackTrace(_IO_FILE*) + 44
1 clang-3.4 0x093e678f
2 clang-3.4 0x093e6134
3 0x4001e400 __kernel_sigreturn + 0
4 0x4001e424 __kernel_vsyscall + 16
5 libc.so.6 0x401ff661 gsignal + 81
6 libc.so.6 0x40202a92 abort + 386
7 libc.so.6 0x401f8878 __assert_fail + 248
8 clang-3.4 0x0951569b
clang::CodeGen::CodeGenFunction::EmitPredefinedLValue(clang::PredefinedExpr
const*) + 2299
Stack dump:
0. Program arguments: /usr/local/bin/clang-3.4 -cc1 -triple
i386-pc-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name
ExecutionDepsFix.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu
pentium4 -target-linker-version 2.22 -g -ffunction-sections -fdata-sections
-coverage-file /llvm/lib/CodeGen/Debug+Asserts/ExecutionDepsFix.o -resource-dir
/usr/local/bin/../lib/clang/3.4 -dependency-file
/llvm/lib/CodeGen/Debug+Asserts/ExecutionDepsFix.d.tmp -MP -MT
/llvm/lib/CodeGen/Debug+Asserts/ExecutionDepsFix.o -MT
/llvm/lib/CodeGen/Debug+Asserts/ExecutionDepsFix.d -D _DEBUG -D _GNU_SOURCE -D
__STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I
/llvm/include -I /llvm/lib/CodeGen -internal-isystem
/usr/lib/gcc/i486-linux-gnu/4.7/../../../../include/c++/4.7 -internal-isystem
/usr/lib/gcc/i486-linux-gnu/4.7/../../../../include/c++/4.7/i486-linux-gnu
-internal-isystem
/usr/lib/gcc/i486-linux-gnu/4.7/../../../../include/c++/4.7/backward
-internal-isystem
/usr/lib/gcc/i486-linux-gnu/4.7/../../../../include/i486-linux-gnu/c++/4.7
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.4/include -internal-externc-isystem
/usr/include/i386-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -Woverloaded-virtual -Wcast-qual
-Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcovered-switch-default -Wno-uninitialized -Wno-missing-field-initializers
-pedantic -std=c++11 -fconst-strings -fdeprecated-macro -fdebug-compilation-dir
/llvm/lib/CodeGen -ferror-limit 19 -fmessage-length 126
-fvisibility-inlines-hidden -mstackrealign -fno-rtti -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-slp -o
/llvm/lib/CodeGen/Debug+Asserts/ExecutionDepsFix.o -x c++ ExecutionDepsFix.cpp
1. <eof> parser at end of file
2. Per-file LLVM IR generation
3. /llvm/include/llvm/Support/Allocator.h:375:28: Generating code for
declaration
'llvm::SpecificBumpPtrAllocator<<anonymous>::DomainValue>::DestroyAll()::<anonymous
class>::operator()'
clang-3.4: error: unable to execute command: Aborted
clang-3.4: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4 (189728)
Target: i386-pc-linux-gnu
Thread model: posix
clang-3.4: 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.4: 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>