Patchwork [pph] Rebuild compilation context from PPH images (1/6) (issue4407048)

login
register
mail settings
Submitter Diego Novillo
Date April 14, 2011, 7:40 p.m.
Message ID <20110414194044.2DCBEA00D@topo.tor.corp.google.com>
Download mbox | patch
Permalink /patch/91282/
State New
Headers show

Comments

Diego Novillo - April 14, 2011, 7:40 p.m.
This test case is getting the compiler into an infinite recursive
loop.  I'm disabling it for now so we can keep working on the other
PPH failures.

Diego.

    	* g++.dg/pph/p1mean.cc: Force syntax error.



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

Patch

diff --git a/gcc/testsuite/ChangeLog.pph b/gcc/testsuite/ChangeLog.pph
index 806e96a..a5555c7 100644
diff --git a/gcc/testsuite/g++.dg/pph/p1mean.cc b/gcc/testsuite/g++.dg/pph/p1mean.cc
index 82435ba..e223499 100644
--- a/gcc/testsuite/g++.dg/pph/p1mean.cc
+++ b/gcc/testsuite/g++.dg/pph/p1mean.cc
@@ -3,6 +3,8 @@ 
 #include <math.h>
 #include <string.h>
 
+SYNTAX ERROR TO AVOID COMPILING THIS - IT CAUSES INFINITE RECURSION.
+
 static unsigned long long MAX_ITEMS = 10000;
 
 static int