[LLVMbugs] [Bug 12660] New: segfault when const reference initialized from initializer list which creates temporary

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 25 15:49:57 PDT 2012


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

             Bug #: 12660
           Summary: segfault when const reference initialized from
                    initializer list which creates temporary
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


This causes clang to crash (in C++11 mode):

struct S { S(int); } const &s { 99 }

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