diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-02-05 00:13:00 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-05 08:17:46 -0400 |
commit | c7d193178f7b3a7747849d4f8574091bc2d4a7f8 (patch) | |
tree | bf94138a109a047f9f0d8379c4be8a629fb22274 /gcc/gimple-expr.c | |
parent | a2754419d08d5a49551fb817a01067e81c3da3f4 (diff) | |
download | gcc-c7d193178f7b3a7747849d4f8574091bc2d4a7f8.zip gcc-c7d193178f7b3a7747849d4f8574091bc2d4a7f8.tar.gz gcc-c7d193178f7b3a7747849d4f8574091bc2d4a7f8.tar.bz2 |
[Ada] Fix incorrect initialization for array of non-standard enumeration type
2020-06-05 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* exp_aggr.adb (Aggr_Assignment_OK_For_Backend): Use
Expr_Rep_Value instead of Expr_Value to obtain the equivalent
integer value.
* sem_eval.ads (Expr_Value): Document more supported cases.
* sem_eval.adb (Expr_Rep_Value): Copy missing cases from
Exp_Value.
Diffstat (limited to 'gcc/gimple-expr.c')
0 files changed, 0 insertions, 0 deletions