Give an error if a label is defined but not used.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 25 Mar 2011 17:34:44 +0000 (17:34 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 25 Mar 2011 17:34:44 +0000 (17:34 +0000)
commitfb4347e44d3e1bf9970f361cf8b25c0b7f5d1d9f
tree3e134efcdf6722d478bdcd0566d6a9352a6ffda4
parentde5ca9cf7844aa190768c5f0cb31f2f4d912f9dd
Give an error if a label is defined but not used.

From-SVN: r171518
13 files changed:
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/parse.cc
gcc/go/gofrontend/parse.h
gcc/testsuite/go.test/test/fixedbugs/bug055.go
gcc/testsuite/go.test/test/fixedbugs/bug076.go
gcc/testsuite/go.test/test/fixedbugs/bug077.go
gcc/testsuite/go.test/test/fixedbugs/bug091.go
gcc/testsuite/go.test/test/fixedbugs/bug137.go
gcc/testsuite/go.test/test/fixedbugs/bug140.go
gcc/testsuite/go.test/test/fixedbugs/bug178.go
gcc/testsuite/go.test/test/fixedbugs/bug179.go
gcc/testsuite/go.test/test/fixedbugs/bug274.go