http://llvm.org/bugs/show_bug.cgi?id=20407
Bug ID: 20407
Summary: Segmentation fault involving std::initializer_list
<std::pair <std::string, int>>
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 12811
--> http://llvm.org/bugs/attachment.cgi?id=12811&action=edit
Testcase and slightly changed version that does not show the error
Execution of the attached testcase (compiled with clang++ -std=c++11
testcase.cpp) results in a segmentation fault. If the file is compiled with g++
or if you remove the braces in line 6 (see working.cpp) everything works as
expected.
clang --version:
Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)
Target: x86_64-pc-linux-gnu
Thread model: posix
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs