compiler: report error for ++/-- applied to a non-numeric type
commit68087a63406fe73d46eaef06ddcb6fc47492ce7e
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Nov 2017 06:14:32 +0000 (21 06:14 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Nov 2017 06:14:32 +0000 (21 06:14 +0000)
tree24605dffe6f5f579e42b1ae2a63ea3acb543ff4d
parentf6b7c53733a025e8961027aa0158a49f790cc5f8
compiler: report error for ++/-- applied to a non-numeric type

    This avoids a compiler crash.

    Fixes GCC PR 83071.

    Reviewed-on: https://go-review.googlesource.com/78875

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254983 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/statements.cc