[project @ 2003-05-27 14:05:11 by simonmar]
authorsimonmar <unknown>
Tue, 27 May 2003 14:05:11 +0000 (14:05 +0000)
committersimonmar <unknown>
Tue, 27 May 2003 14:05:11 +0000 (14:05 +0000)
Send "Result size =" messages to stderr.

ghc/compiler/coreSyn/CoreLint.lhs

index 0ed2a1c..15146ec 100644 (file)
@@ -63,7 +63,7 @@ endPass dflags pass_name dump_flag binds
        -- Report result size if required
        -- This has the side effect of forcing the intermediate to be evaluated
        if verbosity dflags >= 2 then
-          hPutStrLn stdout ("    Result size = " ++ show (coreBindsSize binds))
+          hPutStrLn stderr ("    Result size = " ++ show (coreBindsSize binds))
         else
           return ()