aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-niter.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-07-22 00:21:51 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-07-22 00:21:51 +0000
commit4114e6b1fe8bb10a42ce56263ad42cba98138254 (patch)
treea405735df12d959f1ef82e43673d94e0e33d96aa /gcc/tree-ssa-loop-niter.h
parenta94aa329b4782892799592f149878d1f3bf10d51 (diff)
downloadgcc-4114e6b1fe8bb10a42ce56263ad42cba98138254.zip
gcc-4114e6b1fe8bb10a42ce56263ad42cba98138254.tar.gz
gcc-4114e6b1fe8bb10a42ce56263ad42cba98138254.tar.bz2
compiler: fix check for duplicate declaration
The compiler check that issued a duplicate declaration error for a, a, a := 1, 2, 3 was incorrectly issuing an error for a, a, a = 1, 2, 3 While this is not particularly useful, it is valid Go. Test is https://golang.org/cl/25143. Reviewed-on: https://go-review.googlesource.com/25144 From-SVN: r238618
Diffstat (limited to 'gcc/tree-ssa-loop-niter.h')
0 files changed, 0 insertions, 0 deletions