From a0587a55ea646d461b238fcbb5a09f1e556f1610 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 12 Jun 2007 09:20:45 +0000 Subject: [PATCH] workaround problems when comparing bitfield types [r14423] --- ir/ana/irmemory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ana/irmemory.c b/ir/ana/irmemory.c index 9d204e695..8a697fef3 100644 --- a/ir/ana/irmemory.c +++ b/ir/ana/irmemory.c @@ -257,7 +257,7 @@ static ir_alias_relation different_sel_offsets(ir_node *sel1, ir_node *sel2) { if (tp1 == tp2) check_arr = 1; else if (get_type_state(tp1) == layout_fixed && get_type_state(tp2) == layout_fixed && - get_type_size_bytes(tp1) == get_type_size_bytes(tp2)) + get_type_size_bits(tp1) == get_type_size_bits(tp2)) check_arr = 1; } if (check_arr) { -- 2.20.1