[testsuite] fix gcc.dg/pr32912-3.c

Janis Johnson janis187@us.ibm.com
Tue Dec 18 01:31:00 GMT 2007


The test modified by this patch results in a warning on powerpc*-linux,
so this patch disables warnings for the test.  I'll check it in
tomorrow if there are no objections.

Tested on powerpc64-linux with -m32/-m64.

2007-12-18  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/pr32912-3.c: Compile with -w.

Index: gcc/testsuite/gcc.dg/pr32912-3.c
===================================================================
--- gcc/testsuite/gcc.dg/pr32912-3.c	(revision 131004)
+++ gcc/testsuite/gcc.dg/pr32912-3.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-optimized" } */
+/* { dg-options "-w -O2 -fdump-tree-optimized" } */
 
 typedef int __m128i __attribute__ ((__vector_size__ (16)));
 




More information about the Gcc-patches mailing list