]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Add the System.Bitfield_Utils runtime unit
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Aug 2019 08:30:53 +0000 (08:30 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Aug 2019 08:30:53 +0000 (08:30 +0000)
commit814f5f0e301c6e6a555de8954e05f7e38b61903a
tree991871518d9927868f87a35320792b8c36f34d67
parent8efee0991b6d42c856693ac0c5f2380f13775305
[Ada] Add the System.Bitfield_Utils runtime unit

2019-08-21  Bob Duff  <duff@adacore.com>

gcc/ada/

* Makefile.rtl (GNATRTL_NONTASKING_OBJS): Add s-bitutil.o and
s-biutin.o.
* exp_ch5.adb (Expand_Assign_Array_Bitfield): New function to
generate a call to Copy_Bitfield. This is disabled for now.
(Expand_Assign_Array_Loop_Or_Bitfield): New function to decide
whether to call Expand_Assign_Array_Bitfield.
(Expand_Assign_Array): Call Expand_Assign_Array_Loop_Or_Bitfield
instead of Expand_Assign_Array_Loop.
* libgnat/s-bitfie.ads, libgnat/s-bituti.adb,
libgnat/s-bituti.ads: New units.
* rtsfind.ads: Add enum literals for accessing Copy_Bitfield.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@274785 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/Makefile.rtl
gcc/ada/exp_ch5.adb
gcc/ada/libgnat/s-bitfie.ads [new file with mode: 0644]
gcc/ada/libgnat/s-bituti.adb [new file with mode: 0644]
gcc/ada/libgnat/s-bituti.ads [new file with mode: 0644]
gcc/ada/rtsfind.ads