[applied] PR57744 -- fix test

Submitted by Michael Meissner on Aug. 22, 2013, 6:19 p.m.

Details

Message ID 20130822181924.GA30063@ibm-tiger.the-meissners.org
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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)