From 6633222e3d10e72c4e215f603039f9102dbfec72 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Fri, 7 Dec 2012 06:14:44 +0100 Subject: [PATCH] dump: Remove extra leading dashes from dump suffixes. --- ir/be/bepbqpcoloring.c | 2 +- ir/stat/dags.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/be/bepbqpcoloring.c b/ir/be/bepbqpcoloring.c index f9de569e8..5a6a637d9 100644 --- a/ir/be/bepbqpcoloring.c +++ b/ir/be/bepbqpcoloring.c @@ -598,7 +598,7 @@ static void be_pbqp_coloring(be_chordal_env_t *env) /* dump graph after inserting perms */ if (env->opts->dump_flags & BE_CH_DUMP_CONSTR) { char buf[256]; - snprintf(buf, sizeof(buf), "-%s-constr", cls->name); + snprintf(buf, sizeof(buf), "%s-constr", cls->name); dump_ir_graph(irg, buf); } diff --git a/ir/stat/dags.c b/ir/stat/dags.c index 761a0d622..978c2a1b0 100644 --- a/ir/stat/dags.c +++ b/ir/stat/dags.c @@ -393,7 +393,7 @@ void count_dags_in_graph(graph_entry_t *global, graph_entry_t *graph) /* dump for test */ mark_options = root_env.options; set_dump_node_vcgattr_hook(stat_dag_mark_hook); - dump_ir_graph(graph->irg, "-dag"); + dump_ir_graph(graph->irg, "dag"); set_dump_node_vcgattr_hook(NULL); assert(id == root_env.num_of_dags); -- 2.20.1