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: go1: internal compiler error: in is_unexported_field_or_method, at go/gofrontend/types.cc:8103 #1437

Closed
alberts opened this issue Jan 21, 2011 · 9 comments

Comments

@alberts
Copy link
Contributor

alberts commented Jan 21, 2011

What steps will reproduce the problem?

gccgo -o foo *.go

What do you see instead?

go1: internal compiler error: in is_unexported_field_or_method, at
go/gofrontend/types.cc:8103

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

gccgo

Which operating system are you using?

linux

Which revision are you using?  (hg identify)

gccgo (GCC) 4.6.0 20110120 (experimental)

Path: .
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 169072
Node Kind: directory
Schedule: normal
Last Changed Author: bkoz
Last Changed Rev: 169072
Last Changed Date: 2011-01-20 23:41:24 +0000 (Thu, 20 Jan 2011)

Attachments:

  1. 0.go (336 bytes)
  2. 1.go (246 bytes)
  3. 2.go (2050 bytes)
  4. 3.go (3658 bytes)
@alberts
Copy link
Contributor Author

alberts commented Jan 21, 2011

Comment 1:

go1: internal compiler error: in convert_for_assignment, at
go/gofrontend/expressions.cc:305

Attachments:

  1. 2.go (12722 bytes)

@alberts
Copy link
Contributor Author

alberts commented Jan 21, 2011

Comment 2:

go1: internal compiler error: in do_type, at go/gofrontend/expressions.cc:9954

Attachments:

  1. 1.go (12759 bytes)

@alberts
Copy link
Contributor Author

alberts commented Jan 21, 2011

Comment 3:

go1: internal compiler error: in do_determine_types, at go/gofrontend/statements.cc:360

Attachments:

  1. 0.go (1166 bytes)

@alberts
Copy link
Contributor Author

alberts commented Jan 21, 2011

Comment 4:

go1: internal compiler error: in do_type_descriptor, at go/gofrontend/types.cc:1784

Attachments:

  1. 0.go (316 bytes)
  2. 1.go (1432 bytes)

@robpike
Copy link
Contributor

robpike commented Jan 21, 2011

Comment 5:

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

Status changed to Accepted.

@alberts
Copy link
Contributor Author

alberts commented Jan 21, 2011

Comment 6:

Some more... It takes a while to find these (hours) so that's why they're coming in
slowly.
0.go:30:2: internal compiler error: in fold_convert_loc, at fold-const.c:1906
go1: internal compiler error: in compare_complex, at go/gofrontend/expressions.cc:4367
go1: internal compiler error: in convert_for_assignment, at
go/gofrontend/expressions.cc:305
go1: internal compiler error: in do_check_types, at go/gofrontend/expressions.cc:9238
go1: internal compiler error: in do_determine_types, at go/gofrontend/statements.cc:360
go1: internal compiler error: in do_get_tree, at go/gofrontend/expressions.cc:6397
go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
go1: internal compiler error: in do_type, at go/gofrontend/expressions.cc:951
go1: internal compiler error: in do_type, at go/gofrontend/expressions.cc:9954
go1: internal compiler error: in do_type_descriptor, at go/gofrontend/types.cc:1784
go1: internal compiler error: in fold_convert_loc, at fold-const.c:1906
go1: internal compiler error: in get_or_make_decl, at go/gofrontend/gogo-tree.cc:1255
go1: internal compiler error: in is_unexported_field_or_method, at
go/gofrontend/types.cc:8103
go1: internal compiler error: Segmentation fault

Attachments:

  1. more.tar.gz (343359 bytes)

@ianlancetaylor
Copy link
Contributor

Comment 7:

Labels changed: added gccgo.

@alberts
Copy link
Contributor Author

alberts commented Feb 15, 2011

Comment 8:

tmpsSDokx in more.tar.gz causes the latest trunk to go into an infinite loop. Many of
the others have been fixed.

@ianlancetaylor
Copy link
Contributor

Comment 9:

I believe these are all now fixed.  Thanks for finding them.

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

4 participants