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

            Bug ID: 15483
           Summary: std::future causes 'Illegal instruction'
           Product: clang
           Version: 3.2
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Created attachment 10161
  --> http://llvm.org/bugs/attachment.cgi?id=10161&action=edit
Test case

I have found that virtually any use of std::future fails to work on my machine
using Mac OS X 10.6.8 with the c++ headers/library of gcc 4.7.1.

Compiling this simple test case works, but running it causes 'Illegal
instruction'. With g++ it compiles and runs fine.

Compilation command was:
"~/usr/bin/clang++ --std=c++11 bla.cpp -o bla"
and it was run simply using:
"./bla"

clang++ -v outputs:
clang version 3.2 (tags/RELEASE_32/final)
Target: i386-apple-darwin10.8.0
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