Skip to content

gccgo: bogus index out of bounds #11522

Description

@dvyukov

gccgo rejects to compile the following program:

package a
var a = ""[:]
go.go:2:11: error: string index out of bounds

gcc version 6.0.0 2015070 (experimental) (GCC)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions