This is the mail archive of the gcc@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: Slowdowns in code generated by GCC>=3.3


Földy Lajos <foldy@rmki.kfki.hu> writes:

> not portable, but on i386 you can try using the good old inline assembly: 
>
> 	void* pc;
> 	...
> 	pc=&&lab;
> 	__asm__("jmp *%0" : : "a" (pc));
> 	...
> 	lab:

No, you can't do this.  Asm statements cannot alter control flow.

zw


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