Skip to content

gccgo: bogus incompatible types in binary expression error #11572

Closed
@dvyukov

Description

gccgo rejects to compile the following program:

package a
var a, b = 0, a^0/8i
go.go:2:15: error: incompatible types in binary expression

Both gc and go/types compile it.

gcc version 6.0.0 2015070 (experimental) (GCC)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions