[LLVMbugs] [Bug 9917] New: Crash by including libc++ <valarray> in c++0x mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 14 08:20:06 PDT 2011


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

           Summary: Crash by including libc++ <valarray> in c++0x mode
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: hhinnant at apple.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=6590)
 --> (http://llvm.org/bugs/attachment.cgi?id=6590)
This is a preprocess of libc++ <valarray>

Just noticed this.  preprocess enclosed.

$ clang++  -std=c++0x  valarray_crash.cpp 
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 1 (use -v to see
invocation)

$ clang++ --version
Apple clang version 3.0 (trunk 131335) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin10.7.0
Thread model: posix

Sorry, it is a big enclosure, haven't nailed down what in there is causing the
crash.  Compiles normally without -std=c++0x.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list