[Ada] Fix internal error on bit-packed array in Volatile_Full_Access record
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 20 Nov 2020 20:29:13 +0000 (21:29 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 14 Dec 2020 15:51:53 +0000 (10:51 -0500)
commita36a291399fbcf24d5ea237850b862921ebdec95
tree2c5b62aaba688b4e73a79b5100831f8bcd2ce4af
parent77c44637af3c9f5b974cf02cb80d1abb3b2ce210
[Ada] Fix internal error on bit-packed array in Volatile_Full_Access record

gcc/ada/

* exp_pakd.adb (Expand_Bit_Packed_Element_Set): Fix again packed
array type in complex cases where array is Volatile.
* exp_util.adb (Remove_Side_Effects): Do not force a renaming to
be handled by the back-end.
gcc/ada/exp_pakd.adb
gcc/ada/exp_util.adb