[gccgo] Warn about packages which are imported but not used

Ian Lance Taylor iant@google.com
Sun Jan 31 09:15:00 GMT 2010


Go compilers are supposed to give an error when a file imports a
package but does not use it.  This patch implements that error for
gccgo.  Committed to gccgo branch.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 7271 bytes
Desc: import
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100131/679d2108/attachment.bin>


More information about the Gcc-patches mailing list