OSDN Git Service

* c-common.c (fname_decl): New location argument.
[pf3gnuchains/gcc-fork.git] / gcc / cp / semantics.c
index 10c89d8..176a7fd 100644 (file)
@@ -2165,7 +2165,7 @@ finish_fname (tree id)
 {
   tree decl;
 
-  decl = fname_decl (C_RID_CODE (id), id);
+  decl = fname_decl (input_location, C_RID_CODE (id), id);
   if (processing_template_decl)
     decl = DECL_NAME (decl);
   return decl;