{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/12939","labels_url":"https://api.github.com/repos/golang/go/issues/12939/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/12939/comments","events_url":"https://api.github.com/repos/golang/go/issues/12939/events","html_url":"https://github.com/golang/go/issues/12939","id":111454669,"number":12939,"title":"gccgo: internal compiler error in do_get_backend (4)","user":{"login":"dvyukov","id":1095328,"avatar_url":"https://avatars.githubusercontent.com/u/1095328?v=3","gravatar_id":"","url":"https://api.github.com/users/dvyukov","html_url":"https://github.com/dvyukov","followers_url":"https://api.github.com/users/dvyukov/followers","following_url":"https://api.github.com/users/dvyukov/following{/other_user}","gists_url":"https://api.github.com/users/dvyukov/gists{/gist_id}","starred_url":"https://api.github.com/users/dvyukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvyukov/subscriptions","organizations_url":"https://api.github.com/users/dvyukov/orgs","repos_url":"https://api.github.com/users/dvyukov/repos","events_url":"https://api.github.com/users/dvyukov/events{/privacy}","received_events_url":"https://api.github.com/users/dvyukov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/Started","name":"Started","color":"ffffaa"}],"state":"closed","locked":false,"assignee":{"login":"paranoiacblack","id":1035296,"avatar_url":"https://avatars.githubusercontent.com/u/1035296?v=3","gravatar_id":"","url":"https://api.github.com/users/paranoiacblack","html_url":"https://github.com/paranoiacblack","followers_url":"https://api.github.com/users/paranoiacblack/followers","following_url":"https://api.github.com/users/paranoiacblack/following{/other_user}","gists_url":"https://api.github.com/users/paranoiacblack/gists{/gist_id}","starred_url":"https://api.github.com/users/paranoiacblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paranoiacblack/subscriptions","organizations_url":"https://api.github.com/users/paranoiacblack/orgs","repos_url":"https://api.github.com/users/paranoiacblack/repos","events_url":"https://api.github.com/users/paranoiacblack/events{/privacy}","received_events_url":"https://api.github.com/users/paranoiacblack/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/23","html_url":"https://github.com/golang/go/milestones/Gccgo","labels_url":"https://api.github.com/repos/golang/go/milestones/23/labels","id":1069171,"number":23,"title":"Gccgo","description":"Issues to be fixed in the gccgo distribution (as opposed to the main Go repos).\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":75,"state":"open","created_at":"2015-04-15T17:34:15Z","updated_at":"2016-01-27T00:00:15Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-10-14T17:57:18Z","updated_at":"2016-01-27T00:00:15Z","closed_at":"2016-01-27T00:00:15Z","body":"gccgo crashes on the following input:\r\n```go\r\nfunc s()[a]return]<0{n(\"\",m())\r\nfunc()a(){(p)}\r\nfunc(intMap)m(){s=(m)\r\nm[y]=e([]e,d(4))}}\r\nfor rangem{}}\r\nfunc p(){for{var g c\r\nfor _,t=range s()\r\n```\r\n```\r\ngo1: internal compiler error: in do_get_backend, at go/gofrontend/expressions.cc:3365\r\n0x5f2932 Type_conversion_expression::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/expressions.cc:3365\r\n0x5f07b1 Builtin_call_expression::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/expressions.cc:8178\r\n0x651e20 Temporary_statement::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/statements.cc:494\r\n\r\n0x61fb57 Block::get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5891\r\n0x64f65c Block_statement::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/statements.cc:1836\r\n0x61fb57 Block::get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5891\r\n0x64f65c Block_statement::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/statements.cc:1836\r\n0x61fb57 Block::get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5891\r\n0x64f65c Block_statement::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/statements.cc:1836\r\n0x61fb57 Block::get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5891\r\n0x64f65c Block_statement::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/statements.cc:1836\r\n0x61fb57 Block::get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5891\r\n0x64f65c Block_statement::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/statements.cc:1836\r\n0x61fb57 Block::get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5891\r\n0x64f65c Block_statement::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/statements.cc:1836\r\n0x61fb57 Block::get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5891\r\n0x64f65c Block_statement::do_get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/statements.cc:1836\r\n0x61fb57 Block::get_backend(Translate_context*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5891\r\n0x62135c Function::build(Gogo*, Named_object*)\r\n\t../../gcc/go/gofrontend/gogo.cc:5497\r\n0x622877 Named_object::get_backend(Gogo*, std::vector<Bexpression*, std::allocator<Bexpression*> >&, std::vector<Btype*, std::allocator<Btype*> >&, std::vector<Bfunction*, std::allocator<Bfunction*> >&)\r\n\t../../gcc/go/gofrontend/gogo.cc:7217\r\n```\r\ngcc on rev 228818, gofrontend on a4bcd319d98ddc52b3e7d16ec87d92aad868ab05"}}