Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gccgo: can shift by complex number #11574

Closed
dvyukov opened this issue Jul 3, 2015 · 3 comments
Closed

gccgo: can shift by complex number #11574

dvyukov opened this issue Jul 3, 2015 · 3 comments
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Jul 3, 2015

gccgo successfully compiles the following program:

package a
var a = 0 << complex64(1)

go/types say:

go.go:2: invalid operation: 0 << complex64(1) (shift count type complex64, must be unsigned integer)

gccgo must unlearn how to shift by complex numbers.

#11567

@dvyukov
Copy link
Member Author

dvyukov commented Jul 3, 2015

@paranoiacblack

@ianlancetaylor ianlancetaylor added this to the Gccgo milestone Jul 10, 2015
@paranoiacblack paranoiacblack added the Suggested Issues that may be good for new contributors looking for work to do. label Jul 11, 2015
@paranoiacblack
Copy link
Contributor

I should note whatever changes fixes #11616, should also fix this.

@paranoiacblack
Copy link
Contributor

#11616 is fixed.

@golang golang locked and limited conversation to collaborators Oct 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Projects
None yet
Development

No branches or pull requests

4 participants