From 819d61855966a7735648794c56f2a3f25a2bc4c5 Mon Sep 17 00:00:00 2001 From: froydnj Date: Thu, 8 Jan 2009 18:27:44 +0000 Subject: [PATCH] * gcc.dg/pr34856.c: Ignore irrelevant warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143191 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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.*" } */ -- 2.11.0