Index: src/SymTab/FixFunction.cc
===================================================================
--- src/SymTab/FixFunction.cc	(revision 3007c0bda957ff0d45a3f034aa168c8fe189e446)
+++ src/SymTab/FixFunction.cc	(revision d53772d7bd7857cdbf9f250299a94b43ffd99f62)
@@ -30,4 +30,5 @@
 		// can't delete function type because it may contain assertions, so transfer ownership to new object
 		ObjectDecl *pointer = new ObjectDecl( functionDecl->name, functionDecl->get_storageClasses(), functionDecl->linkage, nullptr, new PointerType( Type::Qualifiers(), functionDecl->type ), nullptr, functionDecl->attributes );
+		pointer->location = functionDecl->location;
 		functionDecl->attributes.clear();
 		functionDecl->type = nullptr;
@@ -43,4 +44,5 @@
 		// need to recursively mutate the base type in order for multi-dimensional arrays to work.
 		PointerType *pointerType = new PointerType( arrayType->get_qualifiers(), arrayType->base, arrayType->dimension, arrayType->isVarLen, arrayType->isStatic );
+		pointerType->location = arrayType->location;
 		arrayType->base = nullptr;
 		arrayType->dimension = nullptr;
