Re: code block simply not generated

2007-04-09 Thread Jim Wilson
stephane duverger wrote: Father was removed because of "goto __end", simply because gcc thought that this code part will never be reached. But process is cloned() and it should have taken into account the "jnz father" Gcc does not look at the contents of an asm, so it does not know that there

code block simply not generated

2007-04-04 Thread stephane duverger
Hello, I think there is a little problem under gcc ! It seems that gcc thinks that a code block will never be reach and so do not generate its code, but it's wrong : -- test.c START -- void foo_printf(char *str) { } int foo() { //assembly for sys_clone() asm volatile ( "xor %ebx,