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

             Bug #: 11523
           Summary: Arrays of pointers to data members are not
                    zero-initialized correctly
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 7699
  --> http://llvm.org/bugs/attachment.cgi?id=7699
test case

Elements of arrays of pointers to data members should be set to "-1" when such
arrays are zero-initialized, as Itanium C++ ABI requires. But they are
initialized to 0 by clang. See the attached test case.

A possible fix is also attached. I didn't compile and test it, but it
highlights the relevant place in the source code.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to