This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, middle-end]: Fix 35526, ICE on memcpy


On Tue, Mar 11, 2008 at 12:46 PM, Jakub Jelinek <jakub@redhat.com> 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.

Thanks, I will fix this issue before committing the patch.

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]