compiler: lvalue context fixes in Unary_expression::do_get_backend
commitcfedf94d006dc6991511278c2de354d7aaeb5025
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jun 2017 18:42:04 +0000 (8 18:42 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jun 2017 18:42:04 +0000 (8 18:42 +0000)
treef0433f7cef25f6f9b623e28860e74400426dd0e0
parent51bc3c73533f363a4cc18eb4f60a7182a0f1abf2
compiler: lvalue context fixes in Unary_expression::do_get_backend

    A couple of the Backend::var_expression invocations in
    Unary_expression::do_get_backend were selecting "lvalue" context
    incorrectly (these var exprs were not in an assignment or LHS
    position); fix is to change back to "rvalue" context.

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

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