aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/os_linux.c
diff options
context:
space:
mode:
authorRémy Oudompheng <oudomphe@phare.normalesup.org>2013-08-29 10:16:09 +0200
committerRémy Oudompheng <oudomphe@phare.normalesup.org>2013-08-29 10:16:09 +0200
commit66c8935f732db28632b75aea456c682487febf15 (patch)
treeeed996992f6b750e7628eb36e130533c75d4f58d /src/pkg/runtime/os_linux.c
parenta9e119ac7006c273d0045bcbc8c8d1a83f58f264 (diff)
downloadgo-66c8935f732db28632b75aea456c682487febf15.tar.xz
cmd/gc: fix detection of initialization loop.
The compiler computes initialization order by finding a spanning tree between a package's global variables. But it does so by walking both variables and functions and stops detecting cycles between variables when they mix with a cycle of mutually recursive functions. Fixes #4847. R=golang-dev, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/9663047
Diffstat (limited to 'src/pkg/runtime/os_linux.c')
0 files changed, 0 insertions, 0 deletions