Navigation Menu

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: internal compiler errors #1557

Closed
alberts opened this issue Feb 28, 2011 · 5 comments
Closed

gccgo: internal compiler errors #1557

alberts opened this issue Feb 28, 2011 · 5 comments

Comments

@alberts
Copy link
Contributor

alberts commented Feb 28, 2011

What steps will reproduce the problem?

Things got a bit confusing for me at the end of issue #1532, so here is a dump of
everything that still seems broken as far as I can tell.

tar -jxvf more567.tar.bz2

cd more567

find -mindepth 1 -type d | xargs -n 1 -I DIR sh -c 'echo DIR && cd DIR
&& echo DIR && gccgo -o foo *.go' 2>&1 | grep internal | sort -u

ls *.go | xargs -n 1 gccgo -o foo 2>&1 | grep internal | sort -u

Multiple files:

go1: internal compiler error: Aborted
go1: internal compiler error: in bind_field_or_method, at go/gofrontend/types.cc:7897
go1: internal compiler error: in do_get_init_tree, at go/gofrontend/types.cc:3879
go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
go1: internal compiler error: in do_type_descriptor, at go/gofrontend/types.cc:1784
go1: internal compiler error: in Named_object, at go/gofrontend/gogo.cc:3631
go1: internal compiler error: in swap_for_recover, at go/gofrontend/gogo.cc:2712
go1: internal compiler error: Segmentation fault

Single files:

go1: internal compiler error: Aborted
go1: internal compiler error: in create_tmp_var, at gimplify.c:465
go1: internal compiler error: in do_get_tree, at go/gofrontend/types.cc:1739
go1: internal compiler error: in fold_convert_loc, at fold-const.c:1906
go1: internal compiler error: in fold_convert_loc, at fold-const.c:2028
go1: internal compiler error: in Named_object, at go/gofrontend/gogo.cc:3631
go1: internal compiler error: in return_value, at go/gofrontend/gogo-tree.cc:1778
go1: internal compiler error: in swap_for_recover, at go/gofrontend/gogo.cc:2712

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 20110228 (experimental)

Attachments:

  1. more567.tar.bz2 (393747 bytes)
@rsc
Copy link
Contributor

rsc commented Feb 28, 2011

Comment 1:

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

Status changed to Accepted.

@ianlancetaylor
Copy link
Contributor

Comment 2:

Labels changed: added gccgo.

@ianlancetaylor
Copy link
Contributor

Comment 3:

The test case tmp0_nxYd.go doesn't cause a compiler crash for me.  Can you confirm that
it causes a crash for you when compiled by itself?

@alberts
Copy link
Contributor Author

alberts commented Mar 1, 2011

Comment 4:

I may have included a few tests that were already fixed in issue #1532. tmp0_nxYd.go is
one of them.

@ianlancetaylor
Copy link
Contributor

Comment 5:

Thanks again.  This set are all 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

4 participants