OSDN Git Service

* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / rs6000-c.c
index 33bbd65..38af0f4 100644 (file)
@@ -3117,7 +3117,7 @@ altivec_resolve_overloaded_builtin (tree fndecl, void *passed_arglist)
                              build_int_cst (TREE_TYPE (arg2),
                                             TYPE_VECTOR_SUBPARTS (arg1_type)
                                             - 1), 0);
-      decl = build_decl (VAR_DECL, NULL_TREE, arg1_type);
+      decl = build_decl (input_location, VAR_DECL, NULL_TREE, arg1_type);
       DECL_EXTERNAL (decl) = 0;
       TREE_PUBLIC (decl) = 0;
       DECL_CONTEXT (decl) = current_function_decl;
@@ -3173,7 +3173,7 @@ altivec_resolve_overloaded_builtin (tree fndecl, void *passed_arglist)
                              build_int_cst (TREE_TYPE (arg2),
                                             TYPE_VECTOR_SUBPARTS (arg1_type)
                                             - 1), 0);
-      decl = build_decl (VAR_DECL, NULL_TREE, arg1_type);
+      decl = build_decl (input_location, VAR_DECL, NULL_TREE, arg1_type);
       DECL_EXTERNAL (decl) = 0;
       TREE_PUBLIC (decl) = 0;
       DECL_CONTEXT (decl) = current_function_decl;