------- Comment #1 from joseph at codesourcery dot com 2009-11-20 01:13 ------- Subject: Re: New: c99-stdint test fails for ptrdiff test
On Fri, 20 Nov 2009, hutchinsonandy at gcc dot gnu dot org wrote: > __PTRDIFF_MAX__ is set by gcc at 32767 and so stdint.h gives PTRDIFF_MAX 32767 > and PTRDIFF_MIN -32768 > > I am not sure why minimum range limits are applied in this test or if > test/gcc/target is wrong. C99 specifies these as the minimum range of ptrdiff_t, so this target is not conforming with C99 in this respect. I suppose you could disable the relevant tests for it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42114