]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Elide the copy for bit-packed aggregates in allocators
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 20 Nov 2024 15:37:30 +0000 (16:37 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 12 Dec 2024 09:57:59 +0000 (10:57 +0100)
commit8999aba832b3c8789d3bfd5680985bfb77a4df87
treef06f987e64fd596b95ddce8c853ece9aea39616e
parentbbe71e33333c85af58f225400f22d892eac9d874
ada: Elide the copy for bit-packed aggregates in allocators

The in-place expansion has been historically disabled for them, but there
does not seem to be any good reason left for this.

gcc/ada/ChangeLog:

* exp_aggr.adb (Expand_Array_Aggregate): Do not exclude aggregates
of bit-packed array types in allocators from in-place expansion.
gcc/ada/exp_aggr.adb