[PATCH, middle-end]: Fix 35526, ICE on memcpy
Jakub Jelinek
jakub@redhat.com
Tue Mar 11 11:46:00 GMT 2008
On Tue, Mar 11, 2008 at 12:11:55PM +0100, Uros Bizjak wrote:
> --- testsuite/g++.dg/torture/pr35526.C (revision 0)
> +++ testsuite/g++.dg/torture/pr35526.C (revision 0)
> @@ -0,0 +1,18 @@
> +/* { dg-do compile } */
> +
> +extern void *memcpy (void *__dest, __const void *__src, unsigned long __n);
This is incorrect on many targets. Should be __SIZE_TYPE__ instead of
unsigned long.
Jakub
More information about the Gcc-patches
mailing list