[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#472867: more simplier loop (asm x86 corrected)



* Cyprien LAPLACE:

> Hum, well .. another sample test:
>
> /* c.c */
>
> extern void func(void*);
>
> void test()
> {
>     register char (*foo)[32] = (typeof(foo))0-1024;
>     register int index;
>     for(index=0;index<1024;index++) {
>         func(foo++);
>     }
> }

This is still undefined.  If you need machine address arithmetic, you
should use uintptr_t and hope for the best.



Reply to: