diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-05 01:43:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-05 01:43:24 +0000 |
commit | 91cb7f7804da1e4974e1e3589822e10910eeae20 (patch) | |
tree | 6f053e5ff47b5a0f74f5a52873db9e9992f38b12 /gcc/tree-ssa-strlen.c | |
parent | 6ac0aed81501d236ed456b54a85684ac03dde713 (diff) | |
download | gcc-91cb7f7804da1e4974e1e3589822e10910eeae20.zip gcc-91cb7f7804da1e4974e1e3589822e10910eeae20.tar.gz gcc-91cb7f7804da1e4974e1e3589822e10910eeae20.tar.bz2 |
compiler: don't error for goto over type or const declaration
We should only issue an error for a goto over a var declaration.
The test case for this is already in the master repository, at
test/fixedbugs/issue8042.go. It just hasn't been copied into the
gccgo repository yet.
Fixes golang/go#19089
Reviewed-on: https://go-review.googlesource.com/91696
From-SVN: r257375
Diffstat (limited to 'gcc/tree-ssa-strlen.c')
0 files changed, 0 insertions, 0 deletions