[LLVMbugs] [Bug 14130] New: Constant evaluation crash with reference subobject initialized from braced-init-list via conversion function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 19 11:13:37 PDT 2012


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

             Bug #: 14130
           Summary: Constant evaluation crash with reference subobject
                    initialized from braced-init-list via conversion
                    function
           Product: clang
           Version: trunk
          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 assert in constant evaluation:

struct S { S(int); }; struct U { S &&s; }; U v { { 0 } };

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