compiler: add COMPARE_ALIASES flag for type compare and hash
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 18 Oct 2018 23:26:20 +0000 (23:26 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 18 Oct 2018 23:26:20 +0000 (23:26 +0000)
commit083e9210dba3a36111f8d2de740678b798e4b6d5
treea564c70583ef6c7b92584b6ab06154508da26be6
parentdbf9376f9ed37bc98218adde4e17d6ee34701179
compiler: add COMPARE_ALIASES flag for type compare and hash

    Normally aliases compare as identical to the underlying type.  Add a
    COMPARE_ALIASES flag to let them compare (and hash) differently.  This
    will be used by later patches in this series.

    Reviewed-on: https://go-review.googlesource.com/c/143021

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