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.
Link to godbolt - https://godbolt.org/z/Cqj6tc
Essentially, gcc is able to better coalesce conditions. Small disclaimer that I haven’t really checked this behaviour outside of the above godbolt.