aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-09-04 12:34:02 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2020-10-23 04:24:58 -0400
commit3a5c9377f6d99ea23520f71340880b2fcb7bef11 (patch)
treed01a14d86851f762b68d02482bc877df458932a4 /gcc/ada/gcc-interface/decl.c
parent995e0727ce999d3f4d5976e98ce31c70cb0469ed (diff)
downloadgcc-3a5c9377f6d99ea23520f71340880b2fcb7bef11.zip
gcc-3a5c9377f6d99ea23520f71340880b2fcb7bef11.tar.gz
gcc-3a5c9377f6d99ea23520f71340880b2fcb7bef11.tar.bz2
[Ada] Do not use Long_Long_Long_Integer'Image with pragma Discard_Names
gcc/ada/ * exp_imgv.adb (Expand_Image_Attribute): For an enumeration type subject to pragma Discard_Names, convert 'Pos to Long_Long_Integer before applying 'Img to the result.
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
0 files changed, 0 insertions, 0 deletions