Patchwork ignore non-portable warning for PR50722

login
register
mail settings
Submitter Mike Stump
Date April 6, 2012, 3:07 p.m.
Message ID <BA49FE15-7C7F-41EE-9C75-5793DC434090@comcast.net>
Download mbox | patch
Permalink /patch/151192/
State New
Headers show

Comments

Mike Stump - April 6, 2012, 3:07 p.m.
The suggestion was made in the PR to use -w; found this by testing on such a target, and didn't want to endlessly add systems to the skip list.

2012-04-06  Mike Stump  <mikestump@comcast.net>

	PR testsuite/50722
	* gcc.dg/pr49994-3.c: Use -w to squelch non-portable warnings.

Patch

Index: gcc.dg/pr49994-3.c
===================================================================
--- gcc.dg/pr49994-3.c	(revision 186111)
+++ gcc.dg/pr49994-3.c	(working copy)
@@ -1,8 +1,7 @@ 
 /* { dg-do compile } */
-/* { dg-options "-O2 -fsched2-use-superblocks -g" } */
+/* { dg-options "-O2 -fsched2-use-superblocks -g -w" } */
 /* { dg-options "-O2 -fsched2-use-superblocks -g -mbackchain" { target s390*-*-* } } */
 /* { dg-require-effective-target scheduling } */
-/* { dg-skip-if "PR testsuite/50722" { ia64-*-*-* hppa*-*-* *-*-hpux* } } */
 
 void *
 foo (int offset)
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 186193)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2012-04-06  Mike Stump  <mikestump@comcast.net>
+
+	PR testsuite/50722
+	* gcc.dg/pr49994-3.c: Use -w to squelch non-portable warnings.
+
 2012-04-05  Jason Merrill  <jason@redhat.com>
 
 	PR c++/52596