[Ada] Revert too late setting of Ekind on discriminants
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 27 May 2020 11:26:36 +0000 (13:26 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 10 Jul 2020 09:16:18 +0000 (05:16 -0400)
commit8248cf4b7006af19298f0b944c212fe2b4b66bef
treeaa16477f833c4ab515f514b1629ef3417ad68736
parent25af525c300abc790ef35bf2d8fb083a570b840a
[Ada] Revert too late setting of Ekind on discriminants

gcc/ada/

* sem_ch3.adb (Process_Discriminants): Revert recent change to
location of Set_Ekind; detect effectively volatile discriminants
by their type only.
gcc/ada/sem_ch3.adb