OSDN Git Service

compiler: reject NOT operator on integer types.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 May 2012 18:24:32 +0000 (18:24 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 May 2012 18:24:32 +0000 (18:24 +0000)
commit4c4119e10843664e73489224bb84484c8ca8a973
treeb1c071d3dd65248f42a46f102841097eabfae151
parent1a96c96a90b1a4581bb04b9d6d6fb99e754c11bc
compiler: reject NOT operator on integer types.

The Go specification only accepts the NOT operator on boolean
types.

Fixes issue 10.

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