On Sep 15, 2011, at 1:20 AM, Tom de Vries wrote: > On 09/14/2011 06:35 PM, Zdenek Dvorak wrote: >> Hi, >> >>> The attached patch fixes PR50322. >>> >>> The test-case is supposed to succeed if the loop counter data-type has the >>> same >>> size as a pointer. The patch defines TYPE to be an int datatype of the same >>> size >>> as a pointer, and uses it. After this fix, there's no need for the avr >>> xfails >>> anymore. >>> >>> tested with avr, x86_64 and x86_64 -m32. >> >> what about using uintptr_t? >> > > That's shorter indeed. > > Tested with x86_64 and x86_64 -m32. When running on my gcc+binutils avr build, > the test is listed as unsupported because it doesn't contain stdint.h, but I > think that just means that libc is missing in my build setup. > > OK for trunk?
Ok.