by 0x6c6f6c · 9y ago · 0 comments
square(int): # @square(int)
xor eax, eax
ret
is required to perform this, what's going on?From this we can see that gcc and clang have figured out that the "if" can never be true, then they elided the loop, then optimized out the variable, ending in the equivalent of "return 0;".