This test just needed -fpermissive (it's a C program originally).

        * g++.dg/pph/p4mean.cc: Remove XFAILs.  Add -w -fpermissive flags.

diff --git a/gcc/testsuite/g++.dg/pph/p4mean.cc 
b/gcc/testsuite/g++.dg/pph/p4mean.cc
index aa08239..e832ce5 100644
--- a/gcc/testsuite/g++.dg/pph/p4mean.cc
+++ b/gcc/testsuite/g++.dg/pph/p4mean.cc
@@ -1,6 +1,4 @@
-// { dg-timeout 2 { target *-*-* } }
-// { dg-xfail-if "INFINITE" { "*-*-*" } { "-fpph-map=pph.map" } }
-
+/* { dg-options "-w -fpermissive" }  */
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
-- 
1.7.3.1


--
This patch is available for review at http://codereview.appspot.com/5175049

Reply via email to