diff options
author | Bob Duff <duff@adacore.com> | 2023-03-27 18:07:17 -0400 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-26 09:29:19 +0200 |
commit | 53d45e492ebb88a84d6440e7db089d5f78610274 (patch) | |
tree | 8aab9d89ce2967d3af7a22e4fd470bcc35dfe6de /gcc/ada/debug.adb | |
parent | fa4b7069a0dfd28b58c718cf8b2060df47a39641 (diff) | |
download | gcc-53d45e492ebb88a84d6440e7db089d5f78610274.zip gcc-53d45e492ebb88a84d6440e7db089d5f78610274.tar.gz gcc-53d45e492ebb88a84d6440e7db089d5f78610274.tar.bz2 |
ada: Fix crash on 'Img as generic actual function
'Image is allowed as an actual for a generic formal function.
This patch fixes a crash when 'Img is used instead of 'Image
in that context.
Misc cleanups.
gcc/ada/
* exp_put_image.adb (Build_Image_Call): Treat 'Img the same as
'Image.
* exp_imgv.adb (Expand_Image_Attribute): If Discard_Names, expand
to 'Image instead of 'Img.
* snames.ads-tmpl, par-ch4.adb, sem_attr.adb, sem_attr.ads:
Cleanups: Rename Attribute_Class_Array to be Attribute_Set. Remove
unnecessary qualifications. DRY: Don't repeat "True".
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions