Commit 4051ec12 authored by Matthias Braun's avatar Matthias Braun
Browse files

do not allow Add(mode_P, mode_P) anymore

parent 286205c7
......@@ -620,8 +620,8 @@ static int verify_node_Add(const ir_node *n)
} else if (mode_is_int(right_mode)) {
fine &= check_mode_same_input(n, n_Add_left, "left");
} else {
fine &= check_mode_same_input(n, n_Add_left, "left");
fine &= check_mode_same_input(n, n_Add_right, "right");
warn(n, "AddP has no integer input");
fine = false;
} else {
warn(n, "mode must be numeric or reference but is %+F", mode);
Markdown is supported
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