Comments
Patch
===================================================================
@@ -2266,7 +2266,7 @@
gcc_assert (n_args <= (int) ARRAY_SIZE (args));
- for (a = n_args; a >= 0; a--)
+ for (a = n_args - 1; a >= 0; a--)
args[a] = NULL_TREE;
for (a = n_args; a >= 0; a--)
@@ -2284,9 +2284,9 @@
else
args[a-1] = arg;
}
- ftype = build_function_type_list (ret_type, arg[0], arg[1], NULL_TREE);
+ ftype = build_function_type_list (ret_type, args[0], args[1], NULL_TREE);
add_builtin_function (s16builtins[i].name, ftype,
- i, BUILT_IN_MD, NULL, NULL);
+ i, BUILT_IN_MD, NULL, NULL_TREE);
}
}