code block simply not generated

Jim Wilson wilson@specifix.com
Mon Apr 9 19:59:00 GMT 2007


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 is a branch to father.

Branches are not supported in asms.  This is mentioned in the gcc 
manual.  We can not get control flow correct in this case, and hence can 
not optimize correctly.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com



More information about the Gcc-bugs mailing list