Patchwork [applied] PR57744 -- fix test

login
register
mail settings
Submitter Michael Meissner
Date Aug. 22, 2013, 6:19 p.m.
Message ID <20130822181924.GA30063@ibm-tiger.the-meissners.org>
Download mbox | patch
Permalink /patch/269131/
State New
Headers show

Comments

Michael Meissner - Aug. 22, 2013, 6:19 p.m.
In doing make check, I noticed that I'm now getting warnings from one of the
tests that I wrote for power8 support (pr57744).  I applied this patch as
obvious:

2013-08-22  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* gcc.target/powerpc/pr57744.c: Declare abort.

Patch

Index: gcc/testsuite/gcc.target/powerpc/pr57744.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/pr57744.c	(revision 201924)
+++ gcc/testsuite/gcc.target/powerpc/pr57744.c	(working copy)
@@ -3,6 +3,8 @@ 
 /* { dg-require-effective-target powerpc_p8vector_ok } */
 /* { dg-options "-mcpu=power8 -O3" } */
 
+void abort (void);
+
 typedef unsigned U_16 __attribute__((mode(TI)));
 
 extern int libat_compare_exchange_16 (U_16 *, U_16 *, U_16, int, int)