aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/debug.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-01-09 00:04:34 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-03 06:01:34 -0400
commit10e168cdbe4fc6ca1d42b0d56936602feb2ef38b (patch)
tree79e61cffd7f488c9e9101e25452b2713fdb596b8 /gcc/ada/debug.adb
parenteebcb5618002bcd30219203ce4c59b0ef809f236 (diff)
downloadgcc-10e168cdbe4fc6ca1d42b0d56936602feb2ef38b.zip
gcc-10e168cdbe4fc6ca1d42b0d56936602feb2ef38b.tar.gz
gcc-10e168cdbe4fc6ca1d42b0d56936602feb2ef38b.tar.bz2
[Ada] Get rid of more references to Universal_Integer in expanded code
2020-06-03 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * exp_attr.adb (Expand_N_Attribute_Reference) <Enum_Rep>: In the case of an enumeration type, do an intermediate conversion to a small integer type. Remove useless stuff. <Finalization_Size>: Do not hardcode Universal_Integer and fix a type mismatch in the assignment to the variable. <Max_Size_In_Storage_Elements>: Likewise. <From_Any>: Do not redefine the Ptyp local variable. <To_Any>: Likewise. <TypeCode>: Likewise. <Pos>: Small tweaks. <Val>: For an enumeration type with standard representation, apply the range check to the expression of a convertion to Universal_Integer, if any. For an integer type, expand to a mere conversion.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions