On Fri, Jan 13, 2012 at 07:40:59PM +0100, Georg-Johann Lay wrote:
> The ilp32 is the closes match:
>
> The source casts pointer to int, int to pointer, long to int, uses 32-bit
> initializers for int, assumes size_t is unsigned long any maybe others.
No. The source is just fine for any target where sizeof (long) == sizeof (void
*).
So both ilp32 and lp64.
> I wonder why such test cases go into the test suite in the first place if the
> come with such bunch of implications.
Because they test actual problems that were reported and usually fixed with
the same commit, to avoid regressing in the future?
Jakub