trans.c (lvalue_required_for_attribute_p): Return 0 for 'Size too.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 28 May 2019 08:25:32 +0000 (08:25 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 28 May 2019 08:25:32 +0000 (08:25 +0000)
commit79069232df7ae1f59c68bbe90804a30c2dbec5d3
treeab4d1c705f277729743c589ab3788d62f1996ca5
parentf552aa626fbfa268b819395d1c5d25ca3ca78428
trans.c (lvalue_required_for_attribute_p): Return 0 for 'Size too.

* gcc-interface/trans.c (lvalue_required_for_attribute_p): Return 0
for 'Size too.
(Identifier_to_gnu): Use the actual subtype for a reference to a
packed array in a return statement.
(Attribute_to_gnu) <Attr_Size>: Do not strip VIEW_CONVERT_EXPRs from
the prefix in every case.

From-SVN: r271691
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c