compiler: additional lvalue/rvalue context fixes
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 9 Jun 2017 04:35:57 +0000 (04:35 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 9 Jun 2017 04:35:57 +0000 (04:35 +0000)
commit1ee77fbdea58944b047de8ff88901aea4e93ed7d
treefde3276ecdbc4adc9069be75cd0ed4b3fbe684f7
parent120ef1d50ab7fe53a67fb2026374b2bdd67838bd
compiler: additional lvalue/rvalue context fixes

    Fix lvalue/rvalue context mixup Set_and_use_temporary_expression's
    do_get_backend() method. Enhance Mark_lvalue_varexprs to handle
    conversions and temporary reference expressions, since occasionally
    the front end emits code such as "deref(conv(tempref)) = ...".

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

From-SVN: r249047
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/statements.cc