aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-01-26 18:16:14 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-16 10:30:58 +0200
commitae334957c7dbbf3db6b612cd6f5fe058877abac4 (patch)
treed534fa6542f5436c7c9761184a7b1fed4102e2e5 /gcc/ada/usage.adb
parent5f8a29bd3487a60cf513c4976769b7dc0113f227 (diff)
downloadgcc-ae334957c7dbbf3db6b612cd6f5fe058877abac4.zip
gcc-ae334957c7dbbf3db6b612cd6f5fe058877abac4.tar.gz
gcc-ae334957c7dbbf3db6b612cd6f5fe058877abac4.tar.bz2
ada: Fix internal error on 'Image applied to array component
This happens because the array component depends on a discriminant. gcc/ada/ * exp_imgv.adb (Rewrite_Object_Image): If the prefix is a component that depends on a discriminant, create an actual subtype for it.
Diffstat (limited to 'gcc/ada/usage.adb')
0 files changed, 0 insertions, 0 deletions