* gcc.dg/pr18241-1.c: Use __SIZE_TYPE__ instead of unsigned long
in malloc prototype; remove XFAIL.
* gcc.dg/pr18241-2.c: Ditto.
* gcc.dg/
20050321-1.c: Use __SIZE_TYPE__ instead of unsigned long
in memset prototype; remove XFAIL.
* gcc.dg/tree-ssa/pr23382.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114789
138bc75d-0d04-0410-961f-
82ee72b054a4
/* { dg-do compile } */
/* { dg-options "-O2 -fmodulo-sched" } */
-/* malloc doesn't take a long. */
-/* { dg-xfail-if "" { "m32c-*-*" } { "*" } { "" } } */
-extern void * malloc (long);
+extern void * malloc (__SIZE_TYPE__);
struct s {
int k;
/* { dg-do run } */
-/* memset doesn't take unsigned long */
-/* { dg-xfail-if "" { "m32c-*-*" } { "*" } { "" } } */
/* { dg-options "-std=gnu99 -Wall -Wextra -O1" } */
-extern void *memset (void*, int, unsigned long);
+extern void *memset (void*, int, __SIZE_TYPE__);
extern void abort (void);
struct radix_tree_root {
/* { dg-do run } */
-/* memset doesn't take unsigned long */
-/* { dg-xfail-if "" { "m32c-*-*" } { "*" } { "" } } */
/* { dg-options "-std=gnu99 -Wall -Wextra -O1" } */
-extern void *memset (void*, int, unsigned long);
+extern void *memset (void*, int, __SIZE_TYPE__);
extern void abort (void);
struct radix_tree_root {
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-alias-vops" } */
-/* malloc doesn't take a long */
-/* { dg-xfail-if "" { "m32c-*-*" } { "*" } { "" } } */
struct a
{
int length;
int a1[256];
};
-void *malloc(long size) __attribute__((malloc));
+void *malloc(__SIZE_TYPE__ size) __attribute__((malloc));
void f(void)
{