compiler: make comparison operator() methods const
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 22 Nov 2017 15:18:43 +0000 (15:18 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 22 Nov 2017 15:18:43 +0000 (15:18 +0000)
commit9e951dd6644df130b05acf0f05abacd250c039f7
tree4c448aeb459de1dd42b469ffad9a1056ff8215cd
parent543382b75ef46abecbcfae946729534ed0821279
compiler: make comparison operator() methods const

    This is required for new versions of libstdc++ in C++17 mode.

    Fixes GCC PR 83102.

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

From-SVN: r255062
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/parse.cc
gcc/go/gofrontend/parse.h