[LLVMbugs] [Bug 14838] New: Reference to temporary std::function crashes clang++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 7 14:09:17 PST 2013


             Bug #: 14838
           Summary: Reference to temporary std::function crashes clang++
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: brunonery+bugzilla at brunonery.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 9829
  --> http://llvm.org/bugs/attachment.cgi?id=9829
Sample code

The attached code crashes the trunk version of clang++ in Ubuntu 12.04 when
compiled with

$ clang++ clangcrash.cpp -std=c++11

The output is

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