diff mbox

[pph] shorten timeout on c1limits-externalid.cc and XFAIL (issue5278042)

Message ID 20111013154420.D8B161DA1D2@topo.tor.corp.google.com
State New
Headers show

Commit Message

Diego Novillo Oct. 13, 2011, 3:44 p.m. UTC
I think this may be an infinite loop, but it may also just be taking a
long time to do the merge operations.

Teste on x86_64.  Committed to branch.


Diego.

	* g++.dg/pph/c1limits-externalid.cc: Add shorter timeout.
	Document failure mode.
diff mbox

Patch

diff --git a/gcc/testsuite/g++.dg/pph/c1limits-externalid.cc b/gcc/testsuite/g++.dg/pph/c1limits-externalid.cc
index b10f1c1..c44475f 100644
--- a/gcc/testsuite/g++.dg/pph/c1limits-externalid.cc
+++ b/gcc/testsuite/g++.dg/pph/c1limits-externalid.cc
@@ -1 +1,6 @@ 
+/* FIXME pph - The following timeout may cause failures on slow targets.
+   In general it takes no longer than a couple of seconds to compile
+   this test, but the new merging code is having trouble with this.  */
+/* { dg-timeout 15 } */
+/* { dg-xfail-if "MERGE INFINITE LOOP" { *-*-* } { "-fpph-map=pph.map" } } */
 #include "c0limits-externalid.h"