> Clang's internal model at HEAD appears to be assuming both outcomes happen simultaneously, which is clearly a bug
How is it clearly a bug? Undefined means undefined.
How is it clearly a bug? Undefined means undefined.
In C and C++, that's exactly what undefined behavior means. I think you're confusing it with unspecified behavior.
In the decades since, benchmark competition has given us the hostile mess we have today.