<div dir="ltr">Hey,<div><br></div><div>Hope this is the correct place to post this. I was doing some bounds checking for a parsing utility and ran into optimization differences between gcc and clang.</div><div><br></div><div>Link to godbolt - <a href="https://godbolt.org/z/Cqj6tc">https://godbolt.org/z/Cqj6tc</a></div><div><br></div><div>Essentially, gcc is able to better coalesce conditions. Small disclaimer that I haven't really checked this behaviour outside of the above godbolt.</div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Warm regards<br>Roshan<br></div></div></div>