go patch committed: Give error on label defined but not used
Ian Lance Taylor
iant@google.com
Fri Mar 25 17:35:00 GMT 2011
The Go language says that it is an error to define a label but not use
it. This patch adds that error to the gccgo frontend. The patch
includes some changes to the testsuite to avoid new errors.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 15338 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110325/e1d4d4d0/attachment.bin>
More information about the Gcc-patches
mailing list