Index: imcc/cfg.c
===================================================================
--- imcc/cfg.c	(revision 8657)
+++ imcc/cfg.c	(working copy)
@@ -342,6 +342,9 @@
 
         last = bb;
     }
+
+    if (IMCC_INFO(interpreter)->debug & DEBUG_CFG)
+        dump_cfg(unit);
 }
 
 
Index: imcc/reg_alloc.c
===================================================================
--- imcc/reg_alloc.c	(revision 8657)
+++ imcc/reg_alloc.c	(working copy)
@@ -151,9 +151,6 @@
         find_basic_blocks(interpreter, unit, first);
         build_cfg(interpreter, unit);
 
-        if (first && (IMCC_INFO(interpreter)->debug & DEBUG_CFG))
-            dump_cfg(unit);
-        first = 0;
         todo = cfg_optimize(interpreter, unit);
     }
     todo = first = 1;
