<pre class="notranslate">$ cat x.go
package p

type T interface{
    _()
    _()
}

$ go tool 6g x.go
x.go:6: internal compiler error: sigcmp vs sortinter _ _

It's inclear what a compiler should do, and the spec is silent. See spec <a href="https://golang.org/issue/6604" rel="nofollow">issue #6604</a>.
Once 6604 is resolved, this should be fixed.

For the reference: gccgo reports a duplicate method error which is peculiar since we
never report duplicates of _ objects. For instance, in structs we count on being able to
define multiple _ fields.</pre>
<p dir="auto">by <strong>getisboy</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
1. Compile the following code using 8g and run it:

package main

import "fmt"

func main() {
    slice := make([]int, 6, 6);
    fmt.Print(int(float(len(slice))), " ");
    for i := 1; i &lt; int(float(len(slice))); i++ {}
    fmt.Println(int(float(len(slice))));
}

What is the expected output? What do you see instead?
This should print "6 6", but instead it prints "6 -2147483648".


What is your $GOOS?  $GOARCH?
$GOOS is linux
$GOARCH is 386


Which revision are you using?  (hg identify)
"77ab01e09eb7 tip"

Please provide any additional information below.
The bug only occurs when the length of the slice is 6 or greater.
The value of len(slice) is the same before and after the loop.
If you remove the line containing the loop, it prints the correct output.
I tried running it on gofmt.com and it runs correctly.</pre>