compiler: fix null-dereference on invalid len() arg.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 Mar 2012 22:31:02 +0000 (22:31 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 Mar 2012 22:31:02 +0000 (22:31 +0000)
commit2e540b505941a63f422d865c2a1490193e459d38
tree3266a54e30ca2d8cf212885010822276f35f6a08
parent1fbb888cfc96cf90eb15a772d278ee6c9ddfc64e
compiler: fix null-dereference on invalid len() arg.

This patch fixes an ICE caused by syntax errors in arguments
to unary built-in functions like len().

Updates issue 7.

From Rémy Oudompheng.

From-SVN: r185935
gcc/go/gofrontend/expressions.cc