[llvm-bugs] [Bug 26487] New: reference to std::cout causes crash
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 4 22:21:49 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26487
Bug ID: 26487
Summary: reference to std::cout causes crash
Product: clang
Version: 3.7
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: tomilovanatoliy at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Simple program (a.cpp):
#include <iostream>
int main()
{
std::ostream & out_ = std::cout;
return 0;
}
when compiled with flags:
clang++ -stdlib=libc++ a.cpp && ./a.out
crashed on execution with message:
Segmentation fault (core dumped)
Version of libc++ is svn r253593.
Version of clang is 3.8.0 trunk 253951.
--
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/20160205/c9dad28d/attachment.html>
More information about the llvm-bugs
mailing list