This patch by Chris Manghane fixes a Go compiler crash when using a switch statement where the switch value is an untyped constant. This is not normally a useful thing to do, but of course the compiler should not crash. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian