<div dir="ltr">Hi,<br><div><br></div><div>We use clang 8+. Does clang have options (not -O0) that do not remove dead code when clang optimize the code?</div><div><br></div><div>We have a old project, now migrating to Clang. It works well with -O0, but failed when use -O1 to -O3.</div><div><br></div><div>Thanks,</div><div><br></div><div>Guofeng</div><div><br></div></div>