X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firopt.c;h=219c7d72add8b12fa4caee8cd7bf446ae21df125;hb=b597c7fd473086ca6374b2abbdf129f595c156d0;hp=b4cf9fbcda8931453b46f08a267dbba350b2cf5f;hpb=7143a9a314a331e6554c07e9b0d52a039d6bccd1;p=libfirm diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index b4cf9fbcd..219c7d72a 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -1262,8 +1262,8 @@ restart: if (get_mode_arithmetic(n_mode) == irma_twos_complement && get_mode_arithmetic(a_mode) == irma_ieee754) { /* ConvI(ConvF(I)) -> I, iff float mantissa >= int mode */ - size_t int_mantissa = get_mode_size_bits(n_mode) - (mode_is_signed(n_mode) ? 1 : 0); - size_t float_mantissa = tarval_ieee754_get_mantissa_size(a_mode); + unsigned int_mantissa = get_mode_size_bits(n_mode) - (mode_is_signed(n_mode) ? 1 : 0); + unsigned float_mantissa = tarval_ieee754_get_mantissa_size(a_mode); if (float_mantissa >= int_mantissa) { n = b; @@ -5316,9 +5316,7 @@ static ir_node *transform_node_End(ir_node *n) { } else if (is_irn_pinned_in_irg(ka) && is_Block_dead(get_nodes_block(ka))) { continue; } - /* FIXME: beabi need to keep a Proj(M) */ - if (is_Phi(ka) || is_irn_keep(ka) || is_Proj(ka)) - in[j++] = ka; + in[j++] = ka; } if (j != n_keepalives) set_End_keepalives(n, j, in);