]> git.ipfire.org Git - thirdparty/gcc.git/commit
trans.c (lvalue_required_for_attribute_p): Return 0 for 'Size too.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 28 May 2019 08:25:45 +0000 (08:25 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 28 May 2019 08:25:45 +0000 (08:25 +0000)
commit8751a970d74bf4aa0f3178fae08acb6d04d15901
treee27cdf6f6dc13c1ddf3d5b95626bd7d556299f32
parent54caef1543a549a0ac6a30ff48f87d5ae5e51a8d
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: r271692
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c