Go patch committed: Avoid ICE on invalid len call

2012-03-28 Thread Ian Lance Taylor
This Go frontend patch from Rémy Oudompheng avoids an ICE on an invalid call to the builtin len function. Bootstrapped on x86_64-unknown-linux-gnu. Committed to mainline and 4.7 branch. Ian diff -r 5b52b07a8cf4 go/expressions.cc --- a/go/expressions.cc Wed Mar 28 15:24:30 2012 -0700 +++ b/go/ex

Go patch committed: Avoid ICE on invalid

2012-03-28 Thread Ian Lance Taylor
This patch from Rémy Oudompheng avoids an ICE on invalid in the Go frontend. Bootstrapped on x86_64-unknown-linux-gnu. Committed to mainline and 4.7 branch. Ian diff -r c1a1b9b5894b go/expressions.cc --- a/go/expressions.cc Wed Mar 28 15:20:12 2012 -0700 +++ b/go/expressions.cc Wed Mar 28 15:24