Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4697)

Issue 5175049: [pph] Detect state mutation in DECLs/TYPEs [6/8] (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by Diego Novillo
Modified:
12 years, 6 months ago
Reviewers:
CC:
Lawrence Crowl, gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M gcc/testsuite/ChangeLog.pph View 1 chunk +4 lines, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/pph/p4mean.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 1
Diego Novillo
12 years, 7 months ago (2011-10-03 15:30:03 UTC) #1
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
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b