This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249029 - in /trunk/gcc/go/gofrontend: MERGE ex...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 08 Jun 2017 18:42:05 -0000
- Subject: r249029 - in /trunk/gcc/go/gofrontend: MERGE ex...
Author: ian
Date: Thu Jun 8 18:42:04 2017
New Revision: 249029
URL: https://gcc.gnu.org/viewcvs?rev=249029&root=gcc&view=rev
Log:
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
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc