[PATCH,testsuite] add powerpc*-*-eabi* exception for gcc.dg/pr34856.c

Janis Johnson janis187@us.ibm.com
Thu Jan 8 18:28:00 GMT 2009

On Thu, 2009-01-08 at 10:00 -0800, Nathan Froyd wrote:
> 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*.

OK, or better yet, remove the existing dg-options that adds -w
and add:

+// Ignore warning on some powerpc configurations.
+// { dg-prune-output "non-standard ABI extension" }

That's what I've been doing on other tests that get that warning.


More information about the Gcc-patches mailing list