r217453 - in /trunk/gcc/go/gofrontend: expressi...

ian@gcc.gnu.org ian@gcc.gnu.org
Thu Nov 13 00:10:00 GMT 2014


Author: ian
Date: Thu Nov 13 00:10:37 2014
New Revision: 217453

URL: https://gcc.gnu.org/viewcvs?rev=217453&root=gcc&view=rev
Log:
compiler: Do not count package uses from ambiguous lookups.

When using dot imports, it is possible to
have an imported symbol name that matches
the name of a struct field in a composite
literal.  Do not consider the imported
package to be used in this situation.
Fixes issue 6427.

Modified:
    trunk/gcc/go/gofrontend/expressions.cc
    trunk/gcc/go/gofrontend/gogo.cc
    trunk/gcc/go/gofrontend/gogo.h
    trunk/gcc/go/gofrontend/parse.cc



More information about the Gcc-cvs mailing list