gcc (-O0) ( foo return rand();, ).
t:
movl $0, %eax
call foo
testl %eax, %eax
je .L4
/* inside of if block */
.L4:
/* rest of main() */
foo EAX, , , 0, , if.
t:
movl $0, %eax
call foo
movl %eax, -4(%rbp)
cmpl $0, -4(%rbp)
je .L4
/* inside of if block */
.L4:
/* rest of main() */
foo EAX, . 0, , if.
, , "", , . , , L1, , .
, , , -O1, , , ?
: -, , L1 , . , , , , , movl . , ; , C.