{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/26163","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/26163/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/26163/comments","events_url":"https://api.github.com/repos/golang/go/issues/26163/events","html_url":"https://github.com/golang/go/issues/26163","id":337232793,"node_id":"MDU6SXNzdWUzMzcyMzI3OTM=","number":26163,"title":"cmd/compile: internal compiler error: two stores live simultaneously on ARM with -N","user":{"login":"ALTree","id":3586803,"node_id":"MDQ6VXNlcjM1ODY4MDM=","avatar_url":"https://avatars2.githubusercontent.com/u/3586803?v=4","gravatar_id":"","url":"https://api.github.com/users/ALTree","html_url":"https://github.com/ALTree","followers_url":"https://api.github.com/users/ALTree/followers","following_url":"https://api.github.com/users/ALTree/following{/other_user}","gists_url":"https://api.github.com/users/ALTree/gists{/gist_id}","starred_url":"https://api.github.com/users/ALTree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ALTree/subscriptions","organizations_url":"https://api.github.com/users/ALTree/orgs","repos_url":"https://api.github.com/users/ALTree/repos","events_url":"https://api.github.com/users/ALTree/events{/privacy}","received_events_url":"https://api.github.com/users/ALTree/received_events","type":"User","site_admin":false},"labels":[{"id":373402289,"node_id":"MDU6TGFiZWwzNzM0MDIyODk=","url":"https://api.github.com/repos/golang/go/labels/NeedsInvestigation","name":"NeedsInvestigation","color":"ededed","default":false},{"id":626114820,"node_id":"MDU6TGFiZWw2MjYxMTQ4MjA=","url":"https://api.github.com/repos/golang/go/labels/release-blocker","name":"release-blocker","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/62","html_url":"https://github.com/golang/go/milestone/62","labels_url":"https://api.github.com/repos/golang/go/milestones/62/labels","id":2827591,"node_id":"MDk6TWlsZXN0b25lMjgyNzU5MQ==","number":62,"title":"Go1.11","description":"","creator":{"login":"rsc","id":104030,"node_id":"MDQ6VXNlcjEwNDAzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","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":244,"closed_issues":671,"state":"open","created_at":"2017-10-10T13:39:17Z","updated_at":"2018-06-30T18:07:43Z","due_on":"2018-07-31T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-06-30T18:07:43Z","updated_at":"2018-07-01T01:09:46Z","closed_at":null,"author_association":"MEMBER","body":"```\r\n$ gotip version\r\ngo version devel +0dc814cd7f Sat Jun 30 01:04:30 2018 +0000 linux/amd64\r\n```\r\n\r\nThe following program (reduced from a gosmith-generated one):\r\n\r\n```\r\npackage p\r\n\r\nvar i int\r\nvar A = ([]*int{})[i]\r\n\r\nvar F func(float64, complex128) int\r\nvar C chan complex128\r\nvar B = F(1, 1+(<-C))\r\n```\r\n\r\ncrashes the tip compiler when compiled for `GOARCH=arm` with optimizations disabled:\r\n\r\n```\r\n$ GOARCH=arm gotip tool compile -N crash.go\r\n\r\n<autogenerated>:1: internal compiler error: two stores live simultaneously: v112 and v102\r\n\r\ngoroutine 1 [running]:\r\nruntime/debug.Stack(0x0, 0x0, 0x0)\r\n\t/home/alberto/go/src/runtime/debug/stack.go:24 +0xa7\r\ncmd/compile/internal/gc.Fatalf(0xcc3d61, 0x29, 0xc000350b00, 0x2, 0x2)\r\n\t/home/alberto/go/src/cmd/compile/internal/gc/subr.go:182 +0x1f7\r\ncmd/compile/internal/gc.(*ssafn).Fatalf(0xc00000fb30, 0x100000000001, 0xcc3d61, 0x29, 0xc000350b00, 0x2, 0x2)\r\n\t/home/alberto/go/src/cmd/compile/internal/gc/ssa.go:5584 +0x67\r\ncmd/compile/internal/ssa.(*Func).Fatalf(0xc00036c2c0, 0xcc3d61, 0x29, 0xc000350b00, 0x2, 0x2)\r\n\t/home/alberto/go/src/cmd/compile/internal/ssa/func.go:562 +0x73\r\ncmd/compile/internal/ssa.storeOrder(0xc0003c6000, 0x46, 0x48, 0xc00000fec0, 0xc0003ca240, 0x83, 0x83, 0xc0003707d0, 0xc000311490, 0xcb38ca)\r\n\t/home/alberto/go/src/cmd/compile/internal/ssa/schedule.go:337 +0x4c0\r\ncmd/compile/internal/ssa.writebarrier(0xc00036c2c0)\r\n\t/home/alberto/go/src/cmd/compile/internal/ssa/writebarrier.go:112 +0x6c7\r\ncmd/compile/internal/ssa.Compile(0xc00036c2c0)\r\n\t/home/alberto/go/src/cmd/compile/internal/ssa/compile.go:70 +0x30e\r\ncmd/compile/internal/gc.buildssa(0xc00036c160, 0x0, 0x0)\r\n\t/home/alberto/go/src/cmd/compile/internal/gc/ssa.go:211 +0xaa7\r\ncmd/compile/internal/gc.compileSSA(0xc00036c160, 0x0)\r\n\t/home/alberto/go/src/cmd/compile/internal/gc/pgen.go:259 +0x39\r\ncmd/compile/internal/gc.compile(0xc00036c160)\r\n\t/home/alberto/go/src/cmd/compile/internal/gc/pgen.go:238 +0x1a0\r\ncmd/compile/internal/gc.funccompile(0xc00036c160)\r\n\t/home/alberto/go/src/cmd/compile/internal/gc/pgen.go:209 +0xbd\r\ncmd/compile/internal/gc.fninit(0xc000046ab0, 0x2, 0x2)\r\n\t/home/alberto/go/src/cmd/compile/internal/gc/init.go:212 +0xaab\r\ncmd/compile/internal/gc.Main(0xccda48)\r\n\t/home/alberto/go/src/cmd/compile/internal/gc/main.go:644 +0x2bea\r\nmain.main()\r\n\t/home/alberto/go/src/cmd/compile/main.go:51 +0x96\r\n```\r\n\r\nThe code compiles fine on go1.10."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/401576386","html_url":"https://github.com/golang/go/issues/26163#issuecomment-401576386","issue_url":"https://api.github.com/repos/golang/go/issues/26163","id":401576386,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTU3NjM4Ng==","user":{"login":"gopherbot","id":8566911,"node_id":"MDQ6VXNlcjg1NjY5MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8566911?v=4","gravatar_id":"","url":"https://api.github.com/users/gopherbot","html_url":"https://github.com/gopherbot","followers_url":"https://api.github.com/users/gopherbot/followers","following_url":"https://api.github.com/users/gopherbot/following{/other_user}","gists_url":"https://api.github.com/users/gopherbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherbot/subscriptions","organizations_url":"https://api.github.com/users/gopherbot/orgs","repos_url":"https://api.github.com/users/gopherbot/repos","events_url":"https://api.github.com/users/gopherbot/events{/privacy}","received_events_url":"https://api.github.com/users/gopherbot/received_events","type":"User","site_admin":false},"created_at":"2018-07-01T01:09:46Z","updated_at":"2018-07-01T01:09:46Z","author_association":"NONE","body":"Change https://golang.org/cl/121856 mentions this issue: `cmd/compile: run generic deadcode in -N mode`"}}
{"actor":{"display_login":"gopherbot"}}