aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-10-06 21:24:17 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-10-06 21:24:17 +0000
commitc12df35927747bd91c0a2d0ffce030f2cdb9f722 (patch)
treecc6ac014c96105160ab6f60ebc7049572c39490a /gcc/fortran/resolve.c
parentce9f2dc532f64c01d284ac34ff3ed8f8f49220c5 (diff)
downloadgcc-c12df35927747bd91c0a2d0ffce030f2cdb9f722.zip
gcc-c12df35927747bd91c0a2d0ffce030f2cdb9f722.tar.gz
gcc-c12df35927747bd91c0a2d0ffce030f2cdb9f722.tar.bz2
compiler: Record each import as a distinct alias.
This patch introduces the Package_alias class which is a finer representation of the different between a package and the aliases it is imported under. Each alias keeps track of the location of its import statement and how many times that alias has been used. This allows the gofrontend to report when a specific import has not been used even if a symbol from the package has been used by another import. Fixes golang/go#12326. Reviewed-on: https://go-review.googlesource.com/14259 From-SVN: r228550
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions