]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Small improvement to Expand_N_Unchecked_Type_Conversion
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 10 Jan 2020 20:55:33 +0000 (21:55 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 3 Jun 2020 10:01:40 +0000 (06:01 -0400)
commitb5b032ec6e3532d9362d4dd4b1097ebf53509b81
treee2ceefe47e821ce189dd5293f4de2c68e348c27f
parent93b3110d75423001107785967a9f9c962e96d2e9
[Ada] Small improvement to Expand_N_Unchecked_Type_Conversion

2020-06-03  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* exp_ch4.adb (Expand_N_Unchecked_Type_Conversion): Also fold the
conversion for literals of enumeration types.
gcc/ada/exp_ch4.adb