Commit b6c2ed5e authored by Michael Beck's avatar Michael Beck
Browse files

Fix assert

[r17183]
parent 9e192449
......@@ -97,7 +97,7 @@ static void lower_sel(ir_node *sel) {
basemode = mode_P_data;
assert(basemode && "no mode for lowering Sel");
assert((get_mode_size_bits(basemode) % 8 != 0) && "can not deal with unorthodox modes");
assert((get_mode_size_bits(basemode) % 8 == 0) && "can not deal with unorthodox modes");
index = get_Sel_index(sel, 0);
if (is_Array_type(owner)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment