<p dir="auto">FWIW this may be a duplicate of another issue I remember seeing. I skimmed through and could not find it, thus thus issue.</p>
<ol dir="auto">
<li>What version of Go are you using (<code class="notranslate">go version</code>)?</li>
</ol>
<p dir="auto">1.6</p>
<ol dir="auto">
<li>What operating system and processor architecture are you using (<code class="notranslate">go env</code>)?</li>
</ol>
<p dir="auto">GOOS="linux"<br>
GOARCH="amd64"</p>
<ol dir="auto">
<li>What did you do?<br>
If possible, provide a recipe for reproducing the error.<br>
A complete runnable program is good.<br>
A link on play.golang.org is best.</li>
</ol>
<p dir="auto"><a href="https://play.golang.org/p/IccuDHNXXu" rel="nofollow">https://play.golang.org/p/IccuDHNXXu</a></p>
<p dir="auto">It seems any array size over 0xA00000 triggers this error.</p>
<ol dir="auto">
<li>What did you expect to see?</li>
</ol>
<p dir="auto">No compiler error.</p>
<ol dir="auto">
<li>What did you see instead?</li>
</ol>
<p dir="auto"><code class="notranslate">prog.go:8: internal compiler error: esc return list</code></p>
<p dir="auto">by <strong>mathew1800</strong>:</p>
<pre class="notranslate">See: <a href="https://code.google.com/p/go/source/browse/src/cmd/6g/gsubr.c#2163" rel="nofollow">https://code.google.com/p/go/source/browse/src/cmd/6g/gsubr.c#2163</a>

There is the following:

if(o &amp; OAddable) {
    naddr(reg1, a, 1);
    a-&gt;offset = 0;
    a-&gt;scale = w;
    a-&gt;index = a-&gt;type;
    a-&gt;type = reg-&gt;val.u.reg + D_INDIR;
} else {
    naddr(reg1, a, 1);
    a-&gt;offset = 0;
    a-&gt;scale = w;
    a-&gt;index = a-&gt;type;
    a-&gt;type = reg-&gt;val.u.reg + D_INDIR;
}

This was likely a copy/paste error or something.</pre>