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

go1: internal compiler error: in make_receiver_parm_decl, at go/gofrontend/gogo-tree.cc:1408 #1347

Closed
alberts opened this issue Dec 14, 2010 · 2 comments

Comments

@alberts
Copy link
Contributor

alberts commented Dec 14, 2010

What steps will reproduce the problem?

gccgo -c -o foobar.o foo.go bar.go

What do you see instead?

bar.go:3:8: error: expected package
foo.go:2:1: error: control reaches end of non-void function
foo.go:2:9: error: use of undefined type ‘Y’
In function ‘foo.String.N5_foo.Y’:
go1: internal compiler error: in make_receiver_parm_decl, at
go/gofrontend/gogo-tree.cc:1408

Which compiler are you using (5g, 6g, 8g, gccgo)?

gccgo

Which operating system are you using?

linux

Which revision are you using?  (hg identify)

URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 167678

Attachments:

  1. foo.go (43 bytes)
  2. bar.go (90 bytes)
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added gccgo.

Owner changed to i...@golang.org.

@ianlancetaylor
Copy link
Contributor

Comment 2:

Thanks for reporting this.  Fixed.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants