diff options
author | Bob Duff <duff@adacore.com> | 2019-09-17 07:59:11 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-09-17 07:59:11 +0000 |
commit | 38b06e7a19d4002697117965d0bfce7ee77e1d40 (patch) | |
tree | e2a5b8a7959e9641e03242174da27e7a81c1184b /gcc/ada/adaint.c | |
parent | 8ba9c127cdbc661a4f10fcf977c560e61edc5ca4 (diff) | |
download | gcc-38b06e7a19d4002697117965d0bfce7ee77e1d40.zip gcc-38b06e7a19d4002697117965d0bfce7ee77e1d40.tar.gz gcc-38b06e7a19d4002697117965d0bfce7ee77e1d40.tar.bz2 |
[Ada] Refine conditions for calling Copy_Bitfield
Avoid calling Copy_Bitfield if there are volatile or independent
components that might be read or written. The test is conservative.
2019-09-17 Bob Duff <duff@adacore.com>
gcc/ada/
* exp_ch5.adb (Expand_Assign_Array_Loop_Or_Bitfield): Add tests
for potential volatile or independent components.
* libgnat/s-bituti.adb (Copy_Small_Bitfield,
Copy_Large_Bitfield): Move declarations to more appropriate
place.
From-SVN: r275768
Diffstat (limited to 'gcc/ada/adaint.c')
0 files changed, 0 insertions, 0 deletions