<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I'm investigating a bug where -Wmissing-noreturn warns on any constructor with member or base initializers, for example:</div><div><br></div><div><div>int f();</div><div><br></div><div>struct A {</div><div> int a;</div><div> A() : a(f()) { }</div><div>};</div></div><div><br></div><div>The CFG for A::A() looks like:</div><div><br></div><div><div> [ B2 (ENTRY) ]</div><div> Predecessors (0):</div><div> Successors (1): B1</div><div><br></div><div> [ B1 ]</div><div> 1: f()</div><div> 2: a([B1.1]) (Member initializer)</div><div> Predecessors (1): B2</div><div> Successors (1): B0</div><div><br></div><div> [ B0 (EXIT) ]</div><div> Predecessors (1): B1</div><div> Successors (0):</div></div><div><br></div><div>not sure about this, but wouldn't it make more sense for the member initializer to come before the call to f() ?</div><div><br></div><div>- Anders</div><div><br></div></body></html>