[LLVMbugs] [Bug 14336] New: clang++ segfaults when compiling code that composes functors (c++11)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 13 18:29:46 PST 2012


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

             Bug #: 14336
           Summary: clang++ segfaults when compiling code that composes
                    functors (c++11)
           Product: clang
           Version: 3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: brunonery+bugzilla at brunonery.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9532
  --> http://llvm.org/bugs/attachment.cgi?id=9532
Output of clang++ bug.cpp -std=c++11 -O0 -emit-llvm -save-temps

clang++-3.1 (obtained from dr-graef's ppa:
http://ppa.launchpad.net/dr-graef/llvm-3.1.precise/ubuntu) segfaults when
compiling code that composes functors (c++11).

clang++ was run as:

clang++ bug.cpp -std=c++11 -O0 -emit-llvm -save-temps

g++-4.7 compiles it correctly.

-- 
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