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 <mikest...@comcast.net> PR testsuite/50722 * gcc.dg/pr49994-3.c: Use -w to squelch non-portable warnings.
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 <mikest...@comcast.net> + + PR testsuite/50722 + * gcc.dg/pr49994-3.c: Use -w to squelch non-portable warnings. + 2012-04-05 Jason Merrill <ja...@redhat.com> PR c++/52596