This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[pph] Detect state mutation in DECLs/TYPEs [6/8] (issue5175049)
- From: dnovillo at google dot com (Diego Novillo)
- To: reply at codereview dot appspotmail dot com, crowl at google dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 Oct 2011 11:29:59 -0400 (EDT)
- Subject: [pph] Detect state mutation in DECLs/TYPEs [6/8] (issue5175049)
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