This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH,testsuite] add powerpc*-*-eabi* exception for gcc.dg/pr34856.c
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: janis187 at us dot ibm dot com
- Date: Thu, 8 Jan 2009 10:00:58 -0800
- Subject: [PATCH,testsuite] add powerpc*-*-eabi* exception for gcc.dg/pr34856.c
gcc.dg/pr34856.c on powerpc*-*-linux* uses -w to avoid:
gcc/testsuite/gcc.dg/pr34856.c: In function 'f1':
gcc/testsuite/gcc.dg/pr34856.c:26: warning: GCC vector passed by reference: non-standard ABI extension with no compatibility guarantee
This patch makes powerpc*-*-eabi* use -w too.
Tested on powerpc-eabi. OK to commit?
-Nathan
2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
* gcc.dg/pr34856.c: Add exception for powerpc*-*-eabi*.
Index: gcc.dg/pr34856.c
===================================================================
--- gcc.dg/pr34856.c (revision 143188)
+++ gcc.dg/pr34856.c (working copy)
@@ -1,7 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -msse2" { target { i?86-*-* x86_64-*-* } } } */
-/* { dg-options "-O2 -w" { target { powerpc*-*-linux* } } } */
+/* { dg-options "-O2 -w" { target { powerpc*-*-linux* powerpc*-*-eabi* } } } */
/* { dg-options "-O2 -maltivec" { target { powerpc*-*-linux* && powerpc_altivec_ok } } } */
typedef unsigned __attribute__ ((__mode__ (__pointer__))) uintptr_t;