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]

[PATCH] Simple testcase fix - add declaration for abort()


It looks like gcc.c-torture/execute/20030125-1.c is missing a declaration for abort(). This shows up as unexpected failure(s) in ppc64 testsuite runs on mainline due to warnings:

20030125-1.c: In function `floor':
20030125-1.c:42: warning: incompatible implicit declaration of built-in function 'abort'
20030125-1.c: In function `sin':
20030125-1.c:54: warning: incompatible implicit declaration of built-in function 'abort'

Please apply if correct.

Best Regards,
Jon Grimm IBM Linux Technology Center



2004-08-13 Jon Grimm <jgrimm2@us.ibm.com>


* gcc.c-torture/execute/20030125-1.c: Add declaration for abort().


Index: gcc/testsuite/gcc.c-torture/execute/20030125-1.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20030125-1.c,v retrieving revision 1.2 diff -c -3 -p -r1.2 20030125-1.c *** gcc/testsuite/gcc.c-torture/execute/20030125-1.c 1 Jul 2003 13:10:26 -00\00 1.2 --- gcc/testsuite/gcc.c-torture/execute/20030125-1.c 13 Aug 2004 21:26:48 -0\000 *************** *** 1,4 **** --- 1,6 ---- /* Verify whether math functions are simplified. */ + extern void abort (void); +


-- Jon Grimm <jgrimm2@us.ibm.com> Lotus Notes: Jon Grimm/Austin/IBM@IBMUS




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