[project @ 1999-12-02 13:33:06 by simonmar]
authorsimonmar <unknown>
Thu, 2 Dec 1999 13:33:06 +0000 (13:33 +0000)
committersimonmar <unknown>
Thu, 2 Dec 1999 13:33:06 +0000 (13:33 +0000)
The infamous "NOTE: simplifier still going..." message is now
protected by #ifdef DEBUG.  It doesn't mean much to the average user,
and we tend to use DEBUG when hacking anyway.

ghc/compiler/simplCore/SimplCore.lhs

index 2356d85..b78ebc4 100644 (file)
@@ -288,11 +288,14 @@ simplifyPgm (imported_rule_ids, rule_lhs_fvs)
                -- Stop if we've run out of iterations
           if iteration_no == max_iterations then
                do {
+#ifdef DEBUG
                    if  max_iterations > 2 then
                            hPutStr stderr ("NOTE: Simplifier still going after " ++ 
                                    show max_iterations ++ 
                                    " iterations; bailing out.\n")
-                   else return ();
+                   else 
+#endif
+                       return ();
 
                    return ("Simplifier baled out", iteration_no, all_counts, binds')
                }