<div dir="ltr">Hi John,<div>Thanks for the reply. Please correct me if i'm wrong but shouldn't this be general for all unions and not just transparent unions? </div><div>Shouldn't we be handling union in similar way we are handling structures in this function except that the size of union will be calculated differently?</div>
<div>Thanks!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 3:20 AM, John McCall <span dir="ltr"><<a href="mailto:rjmccall@apple.com" target="_blank">rjmccall@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Aug 20, 2013, at 6:11 AM, Karthik Bhat <<a href="mailto:blitz.opensource@gmail.com">blitz.opensource@gmail.com</a>> wrote:<br>

> Please find the patch for incorrect ABI in case we have a union argument passed by value.<br>
<br>
</div>At the very least, you need to be checking for just transparent unions<br>
instead of applying this logic uniformly to all unions.<br>
<span class="HOEnZb"><font color="#888888"><br>
John.<br>
</font></span></blockquote></div><br></div>