[Ada] Deal with enumeration types with very large size
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 29 Apr 2020 19:42:22 +0000 (21:42 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 19 Jun 2020 08:17:22 +0000 (04:17 -0400)
commitc5c69d05a905069496f81a3e2fe78ec85aa8dd36
tree66157ce4cf09fd105a9ac2aab39050ce05c78057
parent650abc2c93ab2e599df3053c8556e70de003dd79
[Ada] Deal with enumeration types with very large size

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

gcc/ada/

* exp_attr.adb (Get_Integer_Type): Return the largest supported
unsigned integer type if need be.
gcc/ada/exp_attr.adb