[Ada] Fix handling of 'Image acting as a prefix of a slice in CodePeer
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 24 Aug 2021 21:58:40 +0000 (23:58 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 4 Oct 2021 08:45:06 +0000 (08:45 +0000)
commit263e2936305cb3b995db8f86ce8c60579caeeda3
tree0d7e9642b615a825d2adfcc4c5cd0cbfa766e500
parent6c30bccd6897e84465fff147f12133c282c02eae
[Ada] Fix handling of 'Image acting as a prefix of a slice in CodePeer

gcc/ada/

* sem_res.adb (Resolve_Slice): Add custom handling of attribute
Image and similar in CodePeer mode. This complements the
existing custom handling of these attributes in
Expand_N_Attribute_Reference.
gcc/ada/sem_res.adb