Patchwork [committed] Fix gcc.target/powerpc/ppu-intrinsics.c test case.

login
register
mail settings
Submitter Peter Bergner
Date July 6, 2010, 9:55 p.m.
Message ID <1278453301.2773.5.camel@otta>
Download mbox | patch
Permalink /patch/58067/
State New
Headers show

Comments

Peter Bergner - July 6, 2010, 9:55 p.m.
I just committed as obvious the following patch which is required with trunk
due to the extra warning message we now produce.

Peter


2010-07-06  Peter Bergner  <bergner@vnet.ibm.com>

	* gcc.target/powerpc/ppu-intrinsics.c: Add -Wno-unused-but-set-variable
	to dg-options.

Patch

Index: gcc.target/powerpc/ppu-intrinsics.c
===================================================================
--- gcc.target/powerpc/ppu-intrinsics.c	(revision 161872)
+++ gcc.target/powerpc/ppu-intrinsics.c	(working copy)
@@ -1,5 +1,5 @@ 
 /* { dg-do link { target { *-*-linux* && powerpc_fprs } } } */
-/* { dg-options "-W -Wall -Wno-uninitialized -mcpu=cell" } */
+/* { dg-options "-W -Wall -Wno-uninitialized -Wno-unused-but-set-variable -mcpu=cell" } */
 /* Test some PPU intrinsics from <ppu_intrinsics.h>.  */
 
 #include <ppu_intrinsics.h>