]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for arg_loc.
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Wed, 12 Feb 2014 10:39:57 +0000 (10:39 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 12 Feb 2014 10:39:57 +0000 (10:39 +0000)
* 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

gcc/ChangeLog
gcc/config/avr/avr-c.c
gcc/config/spu/spu-c.c

index a92902bcb11293f121f27ea8c285ccc13cf8b947..4f22604e1c191101bda5cec93b17092cb6d15928 100644 (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
index 98650e093f420e180cdcf7124a005502d25658ea..101d28092e775487b13ce3a580b7efab3c45a508 100644 (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
     }
index 411496de713700220626ecf74a5aa961d6658fc1..9d7aa5a7b47de54fb896cf765eac9fee0c5e3bc4 100644 (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
 }