Thanks all for the replies , -S flag is exactly what i've been looking for!
Some quick tests :
->>>>>>>>>>>>>>>
.file "main.cpp".globl i .data .align 4 .type i, @object .size i, 4i: .long 22 .ident "GCC: (Ubuntu 4.3.2-1ubuntu11) 4.3.2" .section .note.GNU-stack,"",@progbits
void jmp_test(){ bool jmp = false; if(jmp) { int something_to_test_jmp = 1; }else{ int something_to_test_jmp = 0; }}
->>>>>>>>>>>>>>>
.file "main.cpp" .text.globl _Z8jmp_testv .type _Z8jmp_testv, @function_Z8jmp_testv:.LFB2: pushl %ebp.LCFI0: movl %esp, %ebp.LCFI1: subl $16, %esp.LCFI2: movb $0, -1(%ebp) cmpb $0, -1(%ebp) je .L2 movl $1, -8(%ebp) jmp .L4.L2: movl $0, -12(%ebp).L4: leave ret.LFE2: .size _Z8jmp_testv, .-_Z8jmp_testv .ident "GCC: (Ubuntu 4.3.2-1ubuntu11) 4.3.2" .section .note.GNU-stack,"",@progbits