Commit 8eb651bd by Senthil Kumar Selvaraj Committed by Marek Polacek

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
parent 491bdba3
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> 2014-02-12 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/60116 PR rtl-optimization/60116
......
...@@ -115,7 +115,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs) ...@@ -115,7 +115,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs)
fold = targetm.builtin_decl (id, true); fold = targetm.builtin_decl (id, true);
if (fold != error_mark_node) 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 break; // absfx
...@@ -181,7 +181,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs) ...@@ -181,7 +181,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs)
fold = targetm.builtin_decl (id, true); fold = targetm.builtin_decl (id, true);
if (fold != error_mark_node) 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 break; // roundfx
...@@ -238,7 +238,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs) ...@@ -238,7 +238,7 @@ avr_resolve_overloaded_builtin (unsigned int iloc, tree fndecl, void *vargs)
fold = targetm.builtin_decl (id, true); fold = targetm.builtin_decl (id, true);
if (fold != error_mark_node) 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 break; // countlsfx
} }
......
...@@ -181,7 +181,7 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args) ...@@ -181,7 +181,7 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args)
return error_mark_node; 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 #undef SCALAR_TYPE_P
} }
......
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