<html><body><p><tt><font size="2">Jonas Paulsson <paulsson@linux.vnet.ibm.com> wrote on 09.06.2017 15:40:03:<br><br>> At -O1 and higher these are both optimized to have the ret removed:<br>> <br>> *** IR Dump After Simplify the CFG ***<br>> ; Function Attrs: nounwind<br>> define void @test0() #0 {<br>> entry:<br>>   call void @llvm.trap()<br>>   unreachable<br>> }<br>> <br>> , so only at -O0 is there a ret remaining.<br></font></tt><br><tt><font size="2">So if we run the whole thing through clang at -O0 (with expensive</font></tt><br><tt><font size="2">checks), do we still get errors?</font></tt><br><br><tt><font size="2">Bye,</font></tt><br><tt><font size="2">Ulrich</font></tt><br><BR>
</body></html>