ada: Fix storage model handling for dereference as lvalue and renamings
commitb3c206bf46a36bac12cbd863be092625593ad0bb
authorMarc Poulhiès <poulhies@adacore.com>
Tue, 20 Dec 2022 14:54:00 +0000 (20 15:54 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 30 May 2023 07:12:17 +0000 (30 09:12 +0200)
tree4c9a33d0f5bec8441bb1f2643340c4e8d7f9e12b
parent4f061cf29a348178e084ef179a23c6b950a0e283
ada: Fix storage model handling for dereference as lvalue and renamings

Don't require storage access for explicit dereferences used as
lvalue (e.g. Some_Access.all'Address) or for renamings.

gcc/ada/

* gcc-interface/trans.cc (get_storage_model_access): Don't require
storage model access for dereference used as lvalue or renamings.
gcc/ada/gcc-interface/trans.cc