]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: reject NOT operator on integer types.
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 7 May 2012 18:24:17 +0000 (18:24 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 7 May 2012 18:24:17 +0000 (18:24 +0000)
commitc414667bc2a1aa812048cc6f7bba291820dcf5e9
tree0e21d73bbd2e337c743709c4ac5ecd561dd021db
parent55796e90211a41667518e334812ee31001a35f54
compiler: reject NOT operator on integer types.

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

Fixes issue 10.

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