diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-03-22 14:50:15 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-20 09:47:03 +0200 |
commit | 9edbaab0f6eb83351ef65e5bc0e427a415e04915 (patch) | |
tree | 59b629afbab333a094cd3479feff5fcf472eb461 /gotools | |
parent | fbe275e2458458ad517645d64619d3aac4467cf1 (diff) | |
download | gcc-9edbaab0f6eb83351ef65e5bc0e427a415e04915.zip gcc-9edbaab0f6eb83351ef65e5bc0e427a415e04915.tar.gz gcc-9edbaab0f6eb83351ef65e5bc0e427a415e04915.tar.bz2 |
ada: Fix static 'Img for enumeration type with Discard_Names
Fix a short-circuit folding of 'Img for enumeration type, which wrongly
ignored Discard_Names and exposed enumeration literals.
gcc/ada/
* sem_attr.adb (Eval_Attribute): Handle enumeration type with
Discard_Names.
Diffstat (limited to 'gotools')
0 files changed, 0 insertions, 0 deletions