CWG 616, 1213 - value category of subobject references.
commit0ad9032631c3dcc3e1052217e7ba3190c6550d5c
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2018 20:55:32 +0000 (25 20:55 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2018 20:55:32 +0000 (25 20:55 +0000)
tree2ee21aa22979566ce1dcc603f781ca65fe8136d4
parentdb810ebc8e3f98c20375b01c09b5b5bd8ac842f7
CWG 616, 1213 - value category of subobject references.

* tree.c (lvalue_kind): Fix handling of ARRAY_REF of pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260780 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/g++.dg/template/array31.C [new file with mode: 0644]