I didn't find any way to get a compiler to generate a branchless version. I tried clang and GCC, both for amd64, with -O0, -O5, -Os, and for clang, -Oz.
This website eats newlines, unless you double them (one of the annoying features of markdown).
You can use codeblocks by putting 4 spaces before each line:
int main() {
// this should be properly formatted
return 0;
};