[Ada] Handle N_Others_Choice case in range-building function
authorGhjuvan Lacambre <lacambre@adacore.com>
Fri, 5 Jun 2020 16:00:08 +0000 (18:00 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 16 Jul 2020 09:18:06 +0000 (05:18 -0400)
commit0e35dea645d5303b433061df1a27e3f205129de7
tree7a71094cf07594bc7e23cf049d0b776a7defc4e9
parentad323bbf943820aab97a06d318aadd003f8b978e
[Ada] Handle N_Others_Choice case in range-building function

gcc/ada/

* sem_case.adb (Build_Choice): Set Is_Static_Expression flag.
(Lit_Of): Update specification to mention Is_Static_Expression
flag.
* sem_ch13.adb (Membership_Entry): Check for N_Others_Choice.
gcc/ada/sem_case.adb
gcc/ada/sem_ch13.adb