[Ada] Fix violation of No_Implicit_Loops restriction for enumeration type
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 31 May 2021 14:32:14 +0000 (16:32 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 8 Jul 2021 13:34:21 +0000 (13:34 +0000)
commita9c3a4975013a9c3e29c03af5a1d0772d81aba12
tree0359614370dfbc93fe4e687c7788b328fb5a4706
parent73f841cfca82827a60b9a4da8400f6686c85d3ec
[Ada] Fix violation of No_Implicit_Loops restriction for enumeration type

gcc/ada/

* exp_imgv.adb: Add with and use clause for Restrict and Rident.
(Build_Enumeration_Image_Tables): Do not generate the hash function
if the No_Implicit_Loops restriction is active.
gcc/ada/exp_imgv.adb