[Bug c/42114] c99-stdint test fails for ptrdiff test

2009-11-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-11-22 19:02 --- Fixed 4.5 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/42114] c99-stdint test fails for ptrdiff test

2009-11-20 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-11-21 01:35 --- Subject: Bug 42114 Author: hutchinsonandy Date: Sat Nov 21 01:34:51 2009 New Revision: 154392 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154392 Log: PR Testsuite/42114 * gcc-dg/c99-stdint-1.c: Co

[Bug c/42114] c99-stdint test fails for ptrdiff test

2009-11-19 Thread joseph at codesourcery dot com
--- Comment #3 from joseph at codesourcery dot com 2009-11-20 02:36 --- Subject: Re: c99-stdint test fails for ptrdiff test On Fri, 20 Nov 2009, hutchinsonandy at gcc dot gnu dot org wrote: > So should I skip ptrdiff limit test based on pointers being <32 bits? Perhaps > ints < 32 bit

[Bug c/42114] c99-stdint test fails for ptrdiff test

2009-11-19 Thread hutchinsonandy at gcc dot gnu dot org
--- 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 anyw

[Bug c/42114] c99-stdint test fails for ptrdiff test

2009-11-19 Thread joseph at codesourcery dot com
--- 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 PT