http://llvm.org/bugs/show_bug.cgi?id=22783

            Bug ID: 22783
           Summary: Clang is crashing with basic usage of std::async
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++14
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This code segfaults in c++14/c++1z mode, not mattering whether libstdc++ or
libc++ is being used:

#include <future>
int main() { std::async(std::launch::async, []{}); }

It doesn't crash in c++11 mode.

clang version 3.7.0 (trunk 231040) (llvm/trunk 231045)
Target: x86_64-unknown-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

Reply via email to