diff options
author | Alexandre Oliva <oliva@adacore.com> | 2021-12-29 04:10:45 -0300 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-10 08:19:29 +0000 |
commit | 81d33c5c9211dd65b2ffd29424e403582e4542f9 (patch) | |
tree | 3fc515340533ea2d9636750906f5a34301a2d43a /libiberty | |
parent | a77ab90ed3a3077a1e9320ac43b32c850d7c525f (diff) | |
download | gcc-81d33c5c9211dd65b2ffd29424e403582e4542f9.zip gcc-81d33c5c9211dd65b2ffd29424e403582e4542f9.tar.gz gcc-81d33c5c9211dd65b2ffd29424e403582e4542f9.tar.bz2 |
[Ada] Handle non-standard booleans in if_expression condition
We failed to call Adjust_Condition for the condition expression of an
if_expression, so non-standard booleans were expanded like standard
booleans, disregarding representation clauses. Fixed.
gcc/ada/
* exp_ch4.adb (Expand_N_If_Expression): Call Adjust_Condition to
handle non-standard booleans.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions