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/RFA] An SH test patch


Hi,

The appended patch is to get rid of a test failure on SH.
gcc.dg/sh-relax.c fails with an excessive warning because
of the lack of prototype for abort.  Tested on sh-linux.
Ok for mainline?

Regards,
	kaz
--
2005-01-18  Kaz Kojima  <kkojima@gcc.gnu.org>

	* testsuite/gcc.dg/sh-relax.c: Add prototype for abort.

diff -uprN ORIG/gcc/gcc/testsuite/gcc.dg/sh-relax.c LOCAL/gcc/gcc/testsuite/gcc.dg/sh-relax.c
--- ORIG/gcc/gcc/testsuite/gcc.dg/sh-relax.c	2003-03-05 04:40:34.000000000 +0900
+++ LOCAL/gcc/gcc/testsuite/gcc.dg/sh-relax.c	2005-01-16 20:45:25.000000000 +0900
@@ -2,6 +2,7 @@
 /* { dg-do run { target sh-*-* sh?-*-* } } */
 /* { dg-options "-O1 -mrelax" } */
 
+extern void abort (void);
 extern int qwerty (int);
 
 int


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