warning fixes
authorMatthias Braun <matze@braunis.de>
Mon, 25 Jun 2007 23:09:56 +0000 (23:09 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 25 Jun 2007 23:09:56 +0000 (23:09 +0000)
[r14758]

ir/be/ppc32/ppc32_emitter.c
ir/be/ppc32/ppc32_map_regs.c
ir/be/ppc32/ppc32_new_nodes.c
ir/be/ppc32/ppc32_transform.c

index d184d46..ff6b283 100644 (file)
@@ -630,6 +630,7 @@ static void ppc32_emit_start(ppc32_emit_env_t *env, ir_graph *irg) {
  */
 static void ppc32_emit_end(ppc32_emit_env_t *env, ir_graph *irg) {
        int framesize = get_type_size_bytes(get_irg_frame_type(env->cg->irg));
+       (void) irg;
 
 /*     if(!isleaf) {
                // restore link register
@@ -656,6 +657,7 @@ static void ppc32_emit_end(ppc32_emit_env_t *env, ir_graph *irg) {
 void ppc32_gen_labels(ir_node *block, void *env) {
        ir_node *pred;
        int n;
+       (void) env;
 
        for (n = get_Block_n_cfgpreds(block) - 1; n >= 0; --n) {
                pred = get_Block_cfgpred(block, n);
index 606e0ad..b593b2f 100644 (file)
@@ -42,6 +42,7 @@ struct ppc32_irn_reg_assoc {
 int ppc32_cmp_irn_reg_assoc(const void *a, const void *b, size_t len) {
        const struct ppc32_irn_reg_assoc *x = a;
        const struct ppc32_irn_reg_assoc *y = b;
+       (void) len;
 
        return x->irn != y->irn;
 }
index d7ec1e8..07a8b33 100644 (file)
@@ -498,6 +498,8 @@ void init_ppc32_attributes(ir_node *node, int flags,
        ir_graph       *irg  = get_irn_irg(node);
        struct obstack *obst = get_irg_obstack(irg);
        ppc32_attr_t   *attr = get_ppc32_attr(node);
+       (void) execution_units;
+       (void) latency;
 
        attr->flags   = flags;
        attr->in_req  = in_reqs;
index 84cf1bd..2128238 100644 (file)
@@ -1433,6 +1433,7 @@ struct tv_ent {
 static int cmp_tv_ent(const void *a, const void *b, size_t len) {
        const struct tv_ent *e1 = a;
        const struct tv_ent *e2 = b;
+       (void) len;
 
        return !(e1->tv == e2->tv);
 }