projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d12174
)
Fix location of error about unused import "unsafe".
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 26 Sep 2011 19:36:06 +0000
(19:36 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 26 Sep 2011 19:36:06 +0000
(19:36 +0000)
From-SVN: r179211
gcc/go/gofrontend/unsafe.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/unsafe.cc
b/gcc/go/gofrontend/unsafe.cc
index 80b367cc46d4b6fc03cfc44236e00a99a642bf8d..434932bbeb05bcd7c58363485b10e1bd83377035 100644
(file)
--- a/
gcc/go/gofrontend/unsafe.cc
+++ b/
gcc/go/gofrontend/unsafe.cc
@@
-31,6
+31,7
@@
Gogo::import_unsafe(const std::string& local_name, bool is_local_name_exported,
return;
}
+ package->set_location(location);
package->set_is_imported();
Bindings* bindings = package->bindings();