[LLVMbugs] [Bug 22783] New: Clang is crashing with basic usage of std::async

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 3 21:18:25 PST 2015


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: unassignedclangbugs at nondot.org
          Reporter: dummymail000 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150304/27df7fca/attachment.html>


More information about the llvm-bugs mailing list