This is the mail archive of the gcc-help@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: Fwd: error in variable dereferencing


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....

--
Thibaud

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