compiler: separate incomparable types from comparable ones
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 16 Nov 2016 14:47:28 +0000 (14:47 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 16 Nov 2016 14:47:28 +0000 (14:47 +0000)
commit307ca54339bfce88e67f7e446ee4bbf5f1961eba
treeb1c978d18b740b9a10085a389e495460535445aa
parent711188895e4d910aef399ac37084627e003433a8
compiler: separate incomparable types from comparable ones

    Otherwise we can accidentally and incorrectly mark an actual user type
    as incomparable.  This fixes the gccgo version of
    https://golang.org/issue/17752.  The test case for gccgo is
    https://golang.org/cl/33249.

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

From-SVN: r242494
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc