shithub: mc

Download patch

ref: 71a77dbd7f8a317edf08c55edbfe3016e97ea7fc
parent: 93df2d52a2c354255906237eea901efcb2c2affe
author: Ori Bernstein <[email protected]>
date: Tue Jun 18 21:17:18 EDT 2013

Dump simplification trees with '-ds'

--- a/6/simp.c
+++ b/6/simp.c
@@ -1385,7 +1385,7 @@
     }
 
     cfg = mkcfg(s->stmts, s->nstmts);
-    if (debugopt['t'])
+    if (debugopt['t'] || debugopt['s'])
         dumpcfg(cfg, stdout);
 
     fn = zalloc(sizeof(Func));