This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][testsuite] Use __SIZE_TYPE__ instead of unsigned long in malloc/memset prototype.
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Anatoly Sokolov <aesok at post dot ru>
- Cc: gcc-patches at gcc dot gnu dot org, mstein at phenix dot rootshell dot be
- Date: Mon, 19 Jun 2006 14:54:04 -0700
- Subject: Re: [PATCH][testsuite] Use __SIZE_TYPE__ instead of unsigned long in malloc/memset prototype.
- References: <000401c692d7$d0f726c0$1811c10a@root>
On Sun, Jun 18, 2006 at 05:05:04PM +0400, Anatoly Sokolov wrote:
> Hello.
>
> gcc.dg/pr18241-1.c, gcc.dg/pr18241-2.c, gcc.dg/20050321-1.c and
> gcc.dg/tree-ssa/pr23382.c fails on all platforms where size_t != unsigned
> long. Fixed by the following patch.
>
> ChangeLog entry:
>
> 2006-06-18 Anatoly Sokolov <aesok@post.ru>
>
> * gcc.dg/pr18241-1.c: Use __SIZE_TYPE__ instead of unsigned long
> in malloc prototype.
> * gcc.dg/pr18241-2.c: (Ditto.).
> * gcc.dg/20050321-1.c: Use __SIZE_TYPE__ instead of unsigned long
> in memset prototype.
> * gcc.dg/tree-ssa/pr23382.c: (Ditto.).
OK; I checked it into mainline.
Janis