<span></span>On Monday, December 31, 2012, edA-qa mort-ora-y wrote:<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I also think it is kind of dangerous that LLVM silently accepts returns<br>
of larger structures and then produces invalid code. Note that it does<br>
actually pass by pointer if the backend can't return it directly, just<br>
in certain cases it fails to produce correct code.</blockquote><div><br></div><div>You should definitely file a bug. Did you build LLVM with assertions enabled? If not, try rebuilding with assertions, and you might get an indication of what's breaking instead of silent bad behavior.<span></span></div>
<div><br></div><div>-Joe</div>