In my earlier mail, I actually posted the wrong dump without MS ABI.<div><br></div><div>Here is the correct one:</div><div><br></div><div><div>*** Dumping AST Record Layout</div><div>   0 | struct DoubleInPolymorphicStruct</div>

<div>   0 |   (DoubleInPolymorphicStruct vftable pointer)</div><div>   4 |   int a</div><div>   8 |   double b</div><div>  sizeof=16, dsize=16, align=8</div><div>  nvsize=16, nvalign=8</div><div><br></div><div>But the issue still exists.</div>

<div><br></div><div>I tried to apply the patch by Don but it's not compatible with trunk. You seem to know a lot more about the layout code, so if you or Don could fix it it would be the best.</div><div><br></div><br>

<div class="gmail_quote">On Fri, Sep 21, 2012 at 3:42 PM, r4start <span dir="ltr"><<a href="mailto:r4start@gmail.com" target="_blank">r4start@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <div>On 21/09/12 17:33, Joćo Matos wrote:<br>
    </div>
    <blockquote type="cite">What is the status on this?
      <div><br>
      </div>
      <div>I just checked with trunk, and can verify the behavior Don is
        seeing.</div>
      <div><br>
      </div>
      <div>
        <div>*** Dumping AST Record Layout</div>
        <div>   0 | struct DoubleInPolymorphicStruct</div>
        <div>   0 |   (DoubleInPolymorphicStruct vtable pointer)</div>
        <div>   0 |   (DoubleInPolymorphicStruct vftable pointer)</div>
        <div>   4 |   int a</div>
        <div>   8 |   double b</div>
        <div>  sizeof=16, dsize=16, align=8</div>
        <div>
            nvsize=16, nvalign=8</div>
      </div>
      <div><br>
      </div>
      <div>What test case did you use Dmitry?</div>
      <br>
    </blockquote></div>
    Hi.<br>
    Test case similar with Don example.<br>
    I used -Xclang -cxx-abi -Xclang microsoft 1.cpp -Xclang
    -fdump-record-layouts,<br>
    but the right way is -Xclang -cxx-abi -Xclang microsoft  -Xclang <u><b>-triple=i686-pc-win32</b></u>
    1.cpp -Xclang -fdump-record-layouts.<br>
    So the issue is still alive.<br>
    Anybody work on it?<br>
    <br>
    -Dmitry Sokolov.<br>
  </div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>Joćo Matos<br>
</div>