Fwd: error in variable dereferencing

Thibaud GUERIN thibaud@ploposor.com
Fri Apr 21 16:41:00 GMT 2006

On 4/22/06, Andrew Haley <aph@redhat.com> wrote:
> Well, we've established that whetever is wrong, it's not the code gcc
> generates for this routine.  It's correct, as you can see.
>  > The only debug ways usable in the code right now are some things like :
>  > i = (long)(fmt);
>  > __asm__ volatile ("mov %0, %%eax\n":: "m"(i));
>  > __asm__ volatile ("l1: jmp l1");
>  >
>  > which are really dirty i agree...
> Thay're also wrong, becasue they don't clobber eax.

If you have any way to do it (or check with cleaner ways) i'm
listening .... it'll be helpfull....


More information about the Gcc-help mailing list