Show program size in the simplifier-bailing-out message
authorsimonpj@microsoft.com <unknown>
Tue, 16 Oct 2007 12:44:50 +0000 (12:44 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 16 Oct 2007 12:44:50 +0000 (12:44 +0000)
compiler/simplCore/SimplCore.lhs

index 701f0c2..64c4c92 100644 (file)
@@ -429,7 +429,7 @@ simplifyPgm mode switches hsc_env us imp_rule_base guts
            if  max_iterations > 2 then
                hPutStr stderr ("NOTE: Simplifier still going after " ++ 
                                show max_iterations ++ 
-                               " iterations; bailing out.\n")
+                               " iterations; bailing out.  Size = " ++ show (coreBindsSize binds) )
            else 
                return ();
 #endif