Patchwork [testsuite] Prune irrelevant warning from pr53060.c

login
register
mail settings
Submitter Joe Seymour
Date Oct. 12, 2012, 6:31 p.m.
Message ID <507861F6.1050607@codesourcery.com>
Download mbox | patch
Permalink /patch/191173/
State New
Headers show

Comments

Joe Seymour - Oct. 12, 2012, 6:31 p.m.
The pr53060.c test for excess errors fails on some PowerPC targets with an
unexpected warning: "GCC vector returned by reference: non-standard ABI
extension with no compatibility guarantee"

This patch prunes the irrelevant warning as in pr34856.c. I don't have commit
access, so perhaps someone could commit this if it's OK?

Thanks,

2012-10-12  Joe Seymour  <jseymour@codesourcery.com>

	* gcc.dg/pr53060.c: Prune irrelevant warning.
Janis Johnson - Oct. 12, 2012, 6:40 p.m.
On 10/12/2012 11:31 AM, Joe Seymour wrote:
> The pr53060.c test for excess errors fails on some PowerPC targets with an
> unexpected warning: "GCC vector returned by reference: non-standard ABI
> extension with no compatibility guarantee"
> 
> This patch prunes the irrelevant warning as in pr34856.c. I don't have commit
> access, so perhaps someone could commit this if it's OK?
> 
> Thanks,
> 
> 2012-10-12  Joe Seymour  <jseymour@codesourcery.com>
> 
> 	* gcc.dg/pr53060.c: Prune irrelevant warning.
> 
> Index: gcc/testsuite/gcc.dg/pr53060.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/pr53060.c     (revision 192269)
> +++ gcc/testsuite/gcc.dg/pr53060.c     (working copy)
> @@ -22,3 +22,6 @@ int main()
>    if (i[0] != 3) abort();
>    return 0;
>  }
> +
> +/* Ignore a warning that is irrelevant to the purpose of this test.  */
> +/* { dg-prune-output ".*GCC vector returned by reference.*" } */

OK.  I've checked it in.

Janis

Patch

Index: gcc/testsuite/gcc.dg/pr53060.c
===================================================================
--- gcc/testsuite/gcc.dg/pr53060.c     (revision 192269)
+++ gcc/testsuite/gcc.dg/pr53060.c     (working copy)
@@ -22,3 +22,6 @@  int main()
   if (i[0] != 3) abort();
   return 0;
 }
+
+/* Ignore a warning that is irrelevant to the purpose of this test.  */
+/* { dg-prune-output ".*GCC vector returned by reference.*" } */