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]: Implement load PRE


I get a new testsuite failure on Linux/x86-64:
Executing on host: /builds/gcc/misc/gcc/xgcc -B/builds/gcc/misc/gcc/ /cvs/gcc-svn/trunk/gcc/testsuite/gcc.dg/tree-ssa/loadpre6
.c   -O2 -fdump-tree-pre-stats -fno-show-column -S  -o loadpre6.s    (timeout = 300)
/cvs/gcc-svn/trunk/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c:53: warning: conflicting types for built-in function 'malloc'
output is:
/cvs/gcc-svn/trunk/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c:53: warning: conflicting types for built-in function 'malloc'

FAIL: gcc.dg/tree-ssa/loadpre6.c (test for excess errors)

I'm testing the appended patch and will commit it as obvious if it
passes on Linux/x86-64 with both 64-bit and 32-bit compilation.

Btw. Daniel, you forgot to add a ChangeLog entry for the new tests,

Andreas

2006-01-01  Andreas Jaeger  <aj@suse.de>

	* gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
	portable.

Index: /cvs/gcc-svn/trunk/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c
===================================================================
--- /cvs/gcc-svn/trunk/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c	(revision 109217)
+++ /cvs/gcc-svn/trunk/gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c	(working copy)
@@ -50,7 +50,7 @@ remove_useless_vars (tree *unexpanded_va
       cell = &((*cell)->common.chain);
     }
 }
-extern void *malloc (int) __attribute__ ((malloc));
+extern void *malloc (__SIZE_TYPE__) __attribute__ ((malloc));
 
 int
 main (void)

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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