<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 19, 2014 at 1:48 AM, Dennis Luehring <span dir="ltr"><<a href="mailto:dl.soluz@gmx.net" target="_blank">dl.soluz@gmx.net</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">is the cl feature "SEH-Exceptions as C++-Exceptions" (compile switch /EHa) also on your list?<br></blockquote><div><br></div><div>A faithful implementation of /EHa is out of scope. We would have to emit EH cleanups for code like this:</div><div><br></div><div>struct A { ~A(); };</div><div>int foo(int *p) {</div><div>  A a;</div><div>  return *p; // Make sure to run ~A() if *p faults!</div><div>}<br></div><div><br></div><div>LLVM and Clang still believe that *calls* are the only potentially exceptional operations. Loads, stores, division, etc are still UB if they trap.</div><div><br></div></div></div></div>