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: unassignedclangb...@nondot.org
          Reporter: tomilovanato...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to