This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]