<div class="gmail_quote">On Thu, Aug 25, 2011 at 11:55 AM, Jordy Rose <span dir="ltr"><<a href="mailto:jediknil@belkadan.com">jediknil@belkadan.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"><br>
On Aug 25, 2011, at 1:52, Frits van Bommel wrote:<br>
<br>
> On 25 August 2011 01:41, Jordy Rose <<a href="mailto:jediknil@belkadan.com">jediknil@belkadan.com</a>> wrote:<br>
>> + llvm_unreachable("Invalid/unknown GC mode.");<br>
>> + return false;<br>
><br>
> llvm_unreachable() expands to either __builtin_unreachable() or a call<br>
> to a noreturn function. Either way, there should be no need for the<br>
> explicit return.<br>
<br>
</div>Yeah, but the entire purpose of this is to silence a GCC warning about "missing return in a non-void function". Does GCC handle noreturn calls properly now?</blockquote><div><br></div><div>I don't think we care about any versions that don't model this correctly. There are numerous places in the codebase where it would fire if this were not handled correctly. </div>
</div>