<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 22, 2021 at 7:39 AM <<a href="mailto:paul.robinson@sony.com">paul.robinson@sony.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> I'm inclined to omit the trap after a call to a noreturn function<br>
> for brevity - even though it does leave the possibility of<br>
> violating the noreturn contract leading to that fallthrough UB.<br>
<br>
This is specifically the case where we needed it, at least when the<br>
noreturn call is in the last block. Which is commonly the case, a<br>
noreturn call is likely to have its block laid out at the end of a<br>
function.<br>
--paulr<br></blockquote><div><br>Yeah, not suggesting removing that option or changing those who've opted into that behavior - only about the default when platforms haven't otherwise cared/have already been living with zero length functions.<br><br>- Dave<br> </div></div></div>