compiler: pass correct 'function' flag to circular_pointer_type
commit85855de7c24aef222d44e3a9da5f0ded0059175b
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jul 2017 22:31:00 +0000 (18 22:31 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jul 2017 22:31:00 +0000 (18 22:31 +0000)
tree1185231f100fa749f63c64473ba49aadec9a9a88
parenta680233188fd213fdd5b794fd44564f577796976
compiler: pass correct 'function' flag to circular_pointer_type

    The code in Named_type::do_get_backend was not passing the correct
    flag value for circular function types to Backend::circular_pointer_type
    (it was always setting this flag to false). Pass a true value if the
    type being converted is a function type.

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

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