[cfe-dev] double/virtual offsets for MSVC broken in 3.1
r4start at gmail.com
Fri Sep 21 07:42:09 PDT 2012
On 21/09/12 17:33, João Matos wrote:
> What is the status on this?
> I just checked with trunk, and can verify the behavior Don is seeing.
> *** Dumping AST Record Layout
> 0 | struct DoubleInPolymorphicStruct
> 0 | (DoubleInPolymorphicStruct vtable pointer)
> 0 | (DoubleInPolymorphicStruct vftable pointer)
> 4 | int a
> 8 | double b
> sizeof=16, dsize=16, align=8
> nvsize=16, nvalign=8
> What test case did you use Dmitry?
Test case similar with Don example.
I used -Xclang -cxx-abi -Xclang microsoft 1.cpp -Xclang
but the right way is -Xclang -cxx-abi -Xclang microsoft -Xclang
_*-triple=i686-pc-win32*_ 1.cpp -Xclang -fdump-record-layouts.
So the issue is still alive.
Anybody work on it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev