Go patch committed: Avoid compiler crash in recursive type detection

2019-01-28 Thread Ian Lance Taylor
This patch by Ben Shi fixes the Go frontend to avoid crashing when handling a recursive type definition like type T0 T1; type T1 T2; .. type Tn T0 This fixes https://golang.org/issue/25320. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian Index: gcc/go/g

Go patch committed: avoid compiler crash on invalid programs

2017-09-13 Thread Ian Lance Taylor
This minor patch to the Go frontend avoids crashing the compiler on some invalid programs. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian Index: gcc/go/gofrontend/MERGE === --- gcc/go/gofrontend

Go patch committed: Avoid compiler crash on initialization error

2015-09-15 Thread Ian Lance Taylor
This patch by Chris Manghane to the Go frontend avoids a compiler crash on an initialization error involving builtin functions. This fixes https://golang.org/issue/12319 . Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian Index: gcc/go/gofrontend/MERGE ==

Go patch committed: Avoid compiler crash

2012-03-28 Thread Ian Lance Taylor
This patch from Rémy Oudompheng avoids a Go frontend crash on the valid Go code package p var v struct{ I } type I interface{} Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline and 4.7 branch. Ian diff -r 652c8036e264 go/gogo.cc --- a/go/gogo.cc Wed Mar 28 14: