From bef21698fd70d9f9bcc31d61c11bdca83454eee8 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Thu, 8 Jan 2009 18:27:44 +0000 Subject: [PATCH] * gcc.dg/pr34856.c: Ignore irrelevant warning. From-SVN: r143191 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr34856.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6303deaac46..2874af0e1d7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-01-08 Nathan Froyd + + * gcc.dg/pr34856.c: Ignore irrelevant warning. + 2009-01-08 Mark Mitchell * gcc.dg/sibcall-3.c: XFAIL for Thumb. diff --git a/gcc/testsuite/gcc.dg/pr34856.c b/gcc/testsuite/gcc.dg/pr34856.c index ae42c85b0bd..6bfc704774f 100644 --- a/gcc/testsuite/gcc.dg/pr34856.c +++ b/gcc/testsuite/gcc.dg/pr34856.c @@ -1,7 +1,6 @@ /* { 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 -maltivec" { target { powerpc*-*-linux* && powerpc_altivec_ok } } } */ typedef unsigned __attribute__ ((__mode__ (__pointer__))) uintptr_t; @@ -28,3 +27,6 @@ void f1 (unsigned ctr) } while (ctr); } + +/* Ignore a warning that is irrelevant to the purpose of this test. */ +/* { dg-prune-output ".*GCC vector passed by reference.*" } */