You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
gccgo -c bork2.go with:
package bork2
type fooMap struct {}
func (m *fooMap) get() *Foo {}
What is the expected output?
not an internal compiler error
What do you see instead?
bork2.go:3:1: error: control reaches end of non-void function
bork2.go:3:25: error: use of undefined type ‘Foo’
go1: internal compiler error: in do_get_tree, at go/gofrontend/expressions.cc:1175
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html>; for instructions.
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: 167582
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: