This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bug fix for testsuite/gcc.c-torture/execute/memcpy-1.c
- To: rth at redhat dot com (Richard Henderson)
- Subject: Re: bug fix for testsuite/gcc.c-torture/execute/memcpy-1.c
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Thu, 25 Jan 2001 15:36:39 +0000 (GMT)
- Cc: amylaar at cambridge dot redhat dot com (Joern Rennecke),gcc-patches at gcc dot gnu dot org
> You mean __PTRDIFF_TYPE__?
Can we rely on that being defined for all targets?
> > ! #define MEMCPY_SIZE (sizeof (char) << 17)
>
> sizeof(char) is 1 by definition.
It has the value of 1, but a wider type.
> > ! void *copy (void *o, const void *i, unsigned ptrdiff_t l)
>
> You mean size_t, ie __SIZE_TYPE__?
See above - can we rely on that being available?