This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: code block simply not generated


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]