------- Comment #2 from hutchinsonandy at gcc dot gnu dot org  2009-11-20 02:07 
-------
I found c99 limit now which explains it. 

I was tempted to make PTRDIFF_TYPE signed 32 bits to solve c99 compliance -
however that completely  useless as  we cannot declare array exceeding > 32767
bytes anyway (http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00023.html), despite
it being physically possible and with SIZE_TYPE  unsigned 16 bits.

Skipping the paricular test would seem appropriate - keeping the others which
are useful.

So should I skip ptrdiff limit test based on pointers being <32 bits? Perhaps
ints < 32 bits Or do I use stdint definition of INTPTR_MAX <65535 ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42114

Reply via email to