diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-05 01:53:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-05 01:53:23 +0000 |
commit | 33cdac3baa9e0c8da598d5124ac9196be30a3ccb (patch) | |
tree | c272b5d4ac7f6b0339f877949b0f1eb2c773ba1a /gcc/doc/gcov.texi | |
parent | 964c809fb28f2bbb5b7c35d7951911abff242b94 (diff) | |
download | gcc-33cdac3baa9e0c8da598d5124ac9196be30a3ccb.zip gcc-33cdac3baa9e0c8da598d5124ac9196be30a3ccb.tar.gz gcc-33cdac3baa9e0c8da598d5124ac9196be30a3ccb.tar.bz2 |
compiler: permit empty statements after fallthrough
The language spec permits empty statements after a fallthrough
statement, so implement that. Also give a better error message when a
fallthrough statement is in the wrong place. The test case for this
is in the master repository, test/fixedbugs/issue14540.go, just not
yet in the gccgo repository.
Fixes golang/go#14538
Reviewed-on: https://go-review.googlesource.com/91855
From-SVN: r257378
Diffstat (limited to 'gcc/doc/gcov.texi')
0 files changed, 0 insertions, 0 deletions