[LLVMbugs] [Bug 7012] New: EBO issue when explicitly calling the empty base's implicit constructor.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun May 2 00:19:10 PDT 2010


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

           Summary: EBO issue when explicitly calling the empty base's
                    implicit constructor.
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dnljms at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


In the attached code, calling empty's constructor seems to zero the last byte
in the previous base class. It only seems to happen when 'empty' has an
implicit constructor that is explicitly called.

I found this testing quickbook from boost, it happens when running any of the
template tests at 'tools/quickbook/test'.

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