OSDN Git Service

compiler: fix null-dereference on invalid len() arg.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Mar 2012 22:31:20 +0000 (22:31 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Mar 2012 22:31:20 +0000 (22:31 +0000)
commit27c4c7a5ecaa4158a732e88cf96861a046c13a83
treebb544166761453a26734f112e97ecaed015a992f
parent46d04d8f7a8678d99eac20322cdbf90d0175ace3
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185936 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/expressions.cc