diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-12-22 16:43:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-12-22 16:43:28 +0000 |
commit | d7b24d5556b2dae71e1ed3c907d33db21cd2ce72 (patch) | |
tree | 6aafaec025a855ec9fa8bb9a0cce3a4fa9dcbb14 /gcc/tree-iterator.c | |
parent | bb14e19c2be54dd10f40d705364e08524ec8310c (diff) | |
download | gcc-d7b24d5556b2dae71e1ed3c907d33db21cd2ce72.zip gcc-d7b24d5556b2dae71e1ed3c907d33db21cd2ce72.tar.gz gcc-d7b24d5556b2dae71e1ed3c907d33db21cd2ce72.tar.bz2 |
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
From-SVN: r255977
Diffstat (limited to 'gcc/tree-iterator.c')
0 files changed, 0 insertions, 0 deletions