[LLVMbugs] [Bug 19415] New: clang crashes Assertion failed: (!Failed && "Making a constexpr member const shouldn't fail"), function ActOnCXXMemberDeclarator, file SemaDeclCXX.cpp, line 1970.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Apr 13 08:29:38 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19415
Bug ID: 19415
Summary: clang crashes Assertion failed: (!Failed && "Making a
constexpr member const shouldn't fail"), function
ActOnCXXMemberDeclarator, file SemaDeclCXX.cpp, line
1970.
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++1y
Assignee: unassignedclangbugs at nondot.org
Reporter: peter.sommerlad at hsr.ch
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Assertion failed: (!Failed && "Making a constexpr member const shouldn't
fail"), function ActOnCXXMemberDeclarator, file SemaDeclCXX.cpp, line 1970.
0 clang 0x000000010a3431a8 void*
llvm::object_creator<llvm::sys::ThreadLocal<llvm::PrettyStackTraceEntry const>
>() + 19160
1 clang 0x000000010a3436a4 void*
llvm::object_creator<llvm::sys::ThreadLocal<llvm::PrettyStackTraceEntry const>
>() + 20436
2 libsystem_platform.dylib 0x00007fff9012f5aa _sigtramp + 26
3 libsystem_platform.dylib 000000000000000000 _sigtramp + 1877805680
4 clang 0x000000010a343456 void*
llvm::object_creator<llvm::sys::ThreadLocal<llvm::PrettyStackTraceEntry const>
>() + 19846
5 clang 0x000000010a343431 void*
llvm::object_creator<llvm::sys::ThreadLocal<llvm::PrettyStackTraceEntry const>
>() + 19809
6 clang 0x000000010896a84e
llvm::SmallVectorImpl<clang::sema::DelayedDiagnostic>::operator=(llvm::SmallVectorImpl<clang::sema::DelayedDiagnostic>&&)
+ 75278
7 clang 0x00000001087de2a2 void
std::__1::vector<clang::CXXRecordDecl const*,
std::__1::allocator<clang::CXXRecordDecl const*>
>::__push_back_slow_path<clang::CXXRecordDecl const*
const&>(clang::CXXRecordDecl const* const&&&) + 337122
8 clang 0x00000001087da930 void
std::__1::vector<clang::CXXRecordDecl const*,
std::__1::allocator<clang::CXXRecordDecl const*>
>::__push_back_slow_path<clang::CXXRecordDecl const*
const&>(clang::CXXRecordDecl const* const&&&) + 322416
9 clang 0x00000001087d996e void
std::__1::vector<clang::CXXRecordDecl const*,
std::__1::allocator<clang::CXXRecordDecl const*>
>::__push_back_slow_path<clang::CXXRecordDecl const*
const&>(clang::CXXRecordDecl const* const&&&) + 318382
10 clang 0x00000001087bd18d void
std::__1::vector<clang::CXXRecordDecl const*,
std::__1::allocator<clang::CXXRecordDecl const*>
>::__push_back_slow_path<clang::CXXRecordDecl const*
const&>(clang::CXXRecordDecl const* const&&&) + 201677
11 clang 0x00000001088279e7 std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >*
std::__1::remove<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, char [5]>(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >*,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, char const (&) [5]) + 4231
12 clang 0x000000010882739f std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >*
std::__1::remove<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, char [5]>(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >*,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, char const (&) [5]) + 2623
13 clang 0x0000000108826dcc std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >*
std::__1::remove<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, char [5]>(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >*,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, char const (&) [5]) + 1132
14 clang 0x00000001087bc2ab void
std::__1::vector<clang::CXXRecordDecl const*,
std::__1::allocator<clang::CXXRecordDecl const*>
>::__push_back_slow_path<clang::CXXRecordDecl const*
const&>(clang::CXXRecordDecl const* const&&&) + 197867
15 clang 0x0000000108833d91
llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument,
false>::grow(unsigned long) + 30289
16 clang 0x00000001088335b3
llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument,
false>::grow(unsigned long) + 28275
17 clang 0x00000001087ae496 void
std::__1::vector<clang::CXXRecordDecl const*,
std::__1::allocator<clang::CXXRecordDecl const*>
>::__push_back_slow_path<clang::CXXRecordDecl const*
const&>(clang::CXXRecordDecl const* const&&&) + 141014
18 clang 0x000000010873bd3a
llvm::SmallVectorTemplateBase<llvm::DenseMap<clang::BaseSubobject, unsigned
long long, llvm::DenseMapInfo<clang::BaseSubobject> >, false>::grow(unsigned
long) + 17082
19 clang 0x0000000108487393
std::__1::__tree<std::__1::__value_type<clang::edit::FileOffset,
clang::edit::EditedSource::FileEdit>,
std::__1::__map_value_compare<clang::edit::FileOffset,
std::__1::__value_type<clang::edit::FileOffset,
clang::edit::EditedSource::FileEdit>, std::__1::less<clang::edit::FileOffset>,
true>, std::__1::allocator<std::__1::__value_type<clang::edit::FileOffset,
clang::edit::EditedSource::FileEdit> >
>::destroy(std::__1::__tree_node<std::__1::__value_type<clang::edit::FileOffset,
clang::edit::EditedSource::FileEdit>, void*>*) + 8083
20 clang 0x000000010845bafd void
std::__1::vector<clang::FrontendInputFile,
std::__1::allocator<clang::FrontendInputFile>
>::__push_back_slow_path<clang::FrontendInputFile
const&>(clang::FrontendInputFile const&&&) + 19469
21 clang 0x000000010841d494
std::__1::__basic_string_common<true>::__throw_out_of_range() const + 4132
22 clang 0x0000000108413c98
23 clang 0x0000000108418e7d void
std::__1::vector<llvm::SourceMgr::SrcBuffer,
std::__1::allocator<llvm::SourceMgr::SrcBuffer>
>::__push_back_slow_path<llvm::SourceMgr::SrcBuffer
const&>(llvm::SourceMgr::SrcBuffer const&&&) + 1645
24 libdyld.dylib 0x00007fff89a395fd start + 1
25 libdyld.dylib 0x000000000000003f start + 1985768003
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-apple-macosx10.9.0 -emit-obj -mrelax-all -disable-free -main-file-name
Test.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 236.4 -gdwarf-2
-coverage-file
/Users/sop/Documents/Vortraege/ACCU/ACCU2014/workspace/multiplication_table/Debug/src/Test.o
-nostdinc++ -resource-dir /usr/local/bin/../lib/clang/3.5.0 -dependency-file
src/Test.d -MP -MT src/Test.d -I /usr/local/include/c++/v1 -I
/usr/local/lib/clang/3.5.0/include -I
/Users/sop/Documents/Vortraege/ACCU/ACCU2014/workspace/multiplication_table/cute
-stdlib=libc++ -O0 -Wall -std=c++1y -fdeprecated-macro -fdebug-compilation-dir
/Users/sop/Documents/Vortraege/ACCU/ACCU2014/workspace/multiplication_table/Debug
-ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -vectorize-slp -o src/Test.o -x c++
../src/Test.cpp
1. ../src/Test.cpp:201:27: current parser token ';'
2. ../src/Test.cpp:196:1: parsing struct/union/class body 'array_char'
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.5.0 (trunk 206132)
Target: x86_64-apple-darwin13.1.0
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/7b/2cxhqzj50dn3cst349qhkmbh0000gn/T/Test-c53fb6.cpp
clang: note: diagnostic msg:
/var/folders/7b/2cxhqzj50dn3cst349qhkmbh0000gn/T/Test-c53fb6.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/20140413/c3bc6771/attachment.html>
More information about the llvm-bugs
mailing list