avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for arg_loc.

* config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for arg_loc.
	* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.

From-SVN: r207718
This commit is contained in:
Senthil Kumar Selvaraj 2014-02-12 10:39:57 +00:00 committed by Marek Polacek
parent 491bdba30e
commit 8eb651bd31
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2014-02-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for
arg_loc.
* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
2014-02-12 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/60116

View File

@ -115,7 +115,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs)
fold = targetm.builtin_decl (id, true);
if (fold != error_mark_node)
fold = build_function_call_vec (loc, fold, &args, NULL);
fold = build_function_call_vec (loc, vNULL, fold, &args, NULL);
break; // absfx
@ -181,7 +181,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs)
fold = targetm.builtin_decl (id, true);
if (fold != error_mark_node)
fold = build_function_call_vec (loc, fold, &args, NULL);
fold = build_function_call_vec (loc, vNULL, fold, &args, NULL);
break; // roundfx
@ -238,7 +238,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs)
fold = targetm.builtin_decl (id, true);
if (fold != error_mark_node)
fold = build_function_call_vec (loc, fold, &args, NULL);
fold = build_function_call_vec (loc, vNULL, fold, &args, NULL);
break; // countlsfx
}

View File

@ -181,7 +181,7 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args)
return error_mark_node;
}
return build_function_call_vec (loc, match, fnargs, NULL);
return build_function_call_vec (loc, vNULL, match, fnargs, NULL);
#undef SCALAR_TYPE_P
}