]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Error issued on string literal assigned to fixed-lower-bound array
authorGary Dismukes <dismukes@adacore.com>
Fri, 19 Mar 2021 00:23:04 +0000 (20:23 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 18 Jun 2021 08:36:51 +0000 (04:36 -0400)
commitf44441d80fa8523a2e1b294b8563180202879727
treea0df130f54da75ece76aa0f04dce09a8f943eeb3
parent1be46d12a7b76e62f25f3e4e148cda3a6c8948c3
[Ada] Error issued on string literal assigned to fixed-lower-bound array

gcc/ada/

* exp_util.adb (Expand_Sliding_Conversion): Move test of
Is_Fixed_Lower_Bound_Subtype to an assertion. Exclude string
literals from sliding expansion.
gcc/ada/exp_util.adb