compiler: traverse types of constant expressions
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 9 Sep 2019 19:06:46 +0000 (19:06 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 9 Sep 2019 19:06:46 +0000 (19:06 +0000)
commit4f0eaba24dfb46dd4b45251231fdf006a70888c5
treed0782d4967aee04144404ec19460fdcae467cf4a
parent0b0310e9a0e0d553bbe9f961c52e0851328aa8b0
compiler: traverse types of constant expressions

    We forgot to ever traverse types of constant expressions.  This rarely
    makes a difference--evidently, since nobody noticed--but it does
    matter when we inline constant expressions: we need to ensure that the
    type is visible to the importing code.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194317

From-SVN: r275539
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h