This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] turn off warnings in gcc.dg/compat/vector tests
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 Aug 2003 16:58:32 -0700
- Subject: [PATCH] turn off warnings in gcc.dg/compat/vector tests
This patch turns off warnings for C compatibility tests that return
vector types, allowing these tests to pass on x86 systems when SSE is
not enabled. It's been checked in for mainline.
2003-08-25 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/vector-1_x.c: Compile with -w.
* gcc.dg/compat/vector-1_y.c: Ditto.
* gcc.dg/compat/vector-2_x.c: Ditto.
* gcc.dg/compat/vector-2_y.c: Ditto.
Index: gcc.dg/compat/vector-1_x.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/compat/vector-1_x.c,v
retrieving revision 1.1
diff -u -p -r1.1 vector-1_x.c
--- gcc.dg/compat/vector-1_x.c 3 Jul 2003 20:37:42 -0000 1.1
+++ gcc.dg/compat/vector-1_x.c 25 Aug 2003 23:45:09 -0000
@@ -1,3 +1,5 @@
+/* { dg-options "-w" } */
+
#include "compat-common.h"
#include "vector-defs.h"
#include "vector-setup.h"
Index: gcc.dg/compat/vector-1_y.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/compat/vector-1_y.c,v
retrieving revision 1.1
diff -u -p -r1.1 vector-1_y.c
--- gcc.dg/compat/vector-1_y.c 3 Jul 2003 20:37:42 -0000 1.1
+++ gcc.dg/compat/vector-1_y.c 25 Aug 2003 23:45:09 -0000
@@ -1,3 +1,5 @@
+/* { dg-options "-w" } */
+
#include "compat-common.h"
#include "vector-defs.h"
#include "vector-check.h"
Index: gcc.dg/compat/vector-2_x.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/compat/vector-2_x.c,v
retrieving revision 1.1
diff -u -p -r1.1 vector-2_x.c
--- gcc.dg/compat/vector-2_x.c 3 Jul 2003 20:37:42 -0000 1.1
+++ gcc.dg/compat/vector-2_x.c 25 Aug 2003 23:45:09 -0000
@@ -1,3 +1,5 @@
+/* { dg-options "-w" } */
+
#include "compat-common.h"
#include "vector-defs.h"
#include "vector-setup.h"
Index: gcc.dg/compat/vector-2_y.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/compat/vector-2_y.c,v
retrieving revision 1.1
diff -u -p -r1.1 vector-2_y.c
--- gcc.dg/compat/vector-2_y.c 3 Jul 2003 20:37:42 -0000 1.1
+++ gcc.dg/compat/vector-2_y.c 25 Aug 2003 23:45:09 -0000
@@ -1,3 +1,5 @@
+/* { dg-options "-w" } */
+
#include "compat-common.h"
#include "vector-defs.h"
#include "vector-check.h"