aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stack.c
diff options
context:
space:
mode:
authorRémy Oudompheng <oudomphe@phare.normalesup.org>2014-03-13 08:14:05 +0100
committerRémy Oudompheng <oudomphe@phare.normalesup.org>2014-03-13 08:14:05 +0100
commitfcc10bc0f1bed00e951f26bd32aaeea5d6d691b3 (patch)
tree35699fdd6995bcde7c4353ce2161ef6d77fc7cee /src/pkg/runtime/stack.c
parent741244e4336f7056c733f68d6aef07bc27349e9d (diff)
downloadgo-fcc10bc0f1bed00e951f26bd32aaeea5d6d691b3.tar.xz
cmd/gc: fix spurious type errors in walkselect.
The lowering to runtime calls introduces hidden pointers to the arguments of select clauses. When implicit conversions were involved it could end up with incompatible pointers. Since the pointed-to types have the same representation, we can introduce a forced conversion. Fixes #6847. LGTM=rsc R=rsc, iant, khr CC=golang-codereviews https://golang.org/cl/72380043
Diffstat (limited to 'src/pkg/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions