From 11c9ade1e7e5edf7e1f4f502a2feb19b9daf4581 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 14 Dec 2006 14:45:05 +0000 Subject: [PATCH] fix warnings [r8461] --- ir/ir/irdumptxt.c | 2 +- ir/opt/opt_osr.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ir/ir/irdumptxt.c b/ir/ir/irdumptxt.c index e6bd0e791..f0f57de55 100644 --- a/ir/ir/irdumptxt.c +++ b/ir/ir/irdumptxt.c @@ -574,7 +574,7 @@ void dump_entity_to_file_prefix (FILE *F, ir_entity *ent, char *prefix, unsig fprintf(F, "\n"); } else { /* no entattrs */ - fprintf(F, "%s(%3d:d) %-40s: %s", prefix, + fprintf(F, "%s(%3d:%d) %-40s: %s", prefix, get_entity_offset(ent), get_entity_offset_bits_remainder(ent), get_type_name(get_entity_type(ent)), get_entity_name(ent)); if (is_Method_type(get_entity_type(ent))) fprintf(F, "(...)"); diff --git a/ir/opt/opt_osr.c b/ir/opt/opt_osr.c index a79ca2027..c32e57364 100644 --- a/ir/opt/opt_osr.c +++ b/ir/opt/opt_osr.c @@ -110,6 +110,7 @@ static int LFTR_cmp(const void *e1, const void *e2, size_t size) { return l1->src != l2->src; } +#if 0 /** * Find a LFTR edge. */ @@ -120,6 +121,7 @@ static LFTR_edge *LFTR_find(ir_node *src, iv_env *env) { return set_find(env->lftr_edges, &key, sizeof(key), HASH_PTR(src)); } +#endif /** * Add a LFTR edge. @@ -822,6 +824,7 @@ static void assign_po(ir_node *block, void *ctx) { e->POnum = env->POnum++; } +#if 0 /** * Follows the LFTR edges and return the last node in the chain. * @@ -993,6 +996,7 @@ static void do_lftr(ir_node *cmp, void *ctx) { static void lftr(ir_graph *irg, iv_env *env) { irg_walk_graph(irg, NULL, do_lftr, env); } +#endif /** * Pre-walker: set all node links to NULL and fix the -- 2.20.1