diff options
author | Bob Duff <duff@adacore.com> | 2022-09-27 12:10:21 -0400 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-10-06 11:22:48 +0200 |
commit | 7d8ba0c67cfb68e3a7806b30c3075d06e8feeb7c (patch) | |
tree | a0bcf0283aec262eb299d2705d4b1efadb36e4fe /gcc/ada/gcc-interface/utils.cc | |
parent | 86b786dc7295f6288296abb38d05572c3f98a758 (diff) | |
download | gcc-7d8ba0c67cfb68e3a7806b30c3075d06e8feeb7c.zip gcc-7d8ba0c67cfb68e3a7806b30c3075d06e8feeb7c.tar.gz gcc-7d8ba0c67cfb68e3a7806b30c3075d06e8feeb7c.tar.bz2 |
ada: Disable slice-of-component optimization in some cases
This patch disables the Fast_Copy_Bitfield optimization in certain rare
cases that currently do not work (crash in gigi). We could improve
Expand_Assign_Array_Bitfield_Fast to handle these cases properly, but
that change is delicate, so for now, we simply disable the optimization.
gcc/ada/
* exp_ch5.adb
(Expand_Assign_Array_Loop_Or_Bitfield): Disable the
Fast_Copy_Bitfield optimization in certain cases.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions