This is the mail archive of the
mailing list for the GCC project.
Re: i386 and asm jumping
> I would like to hard optimize a special case in my
> code. And what I would like to do is really just
> the following:
> __asm___ ("jmp %0" :: "?" (&& the_label));
> What I wanna know is if this is possible? What
> constrain should I use? `m' doesn't work, neither
> do `p'. Any ideas?
It is not possible. ASM statements may not jump.
You may want to use computed goto GCC extension istead.