r255977 - in /trunk/gcc/go/gofrontend: MERGE ex...

ian@gcc.gnu.org ian@gcc.gnu.org
Fri Dec 22 16:43:00 GMT 2017


Author: ian
Date: Fri Dec 22 16:43:28 2017
New Revision: 255977

URL: https://gcc.gnu.org/viewcvs?rev=255977&root=gcc&view=rev
Log:
    compiler: do not propagate address-taken of a slice element to the slice
    
    Array_index_expression may be used for indexing/slicing array or
    slice. If a slice element is address taken, the slice itself is
    not necessarily address taken. Only propagate address-taken for
    arrays.
    
    Reviewed-on: https://go-review.googlesource.com/83877

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/expressions.cc
    trunk/gcc/go/gofrontend/expressions.h



More information about the Gcc-cvs mailing list