[LLVMbugs] [Bug 20407] New: Segmentation fault involving std::initializer_list <std::pair <std::string, int>>
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 23 05:18:22 PDT 2014
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: unassignedclangbugs at nondot.org
Reporter: tobias.leibner at googlemail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140723/c819d0ab/attachment.html>
More information about the llvm-bugs
mailing list