[Ada] Ada2020: AI12-0198 potentially unevaluated components of arrays
authorJavier Miranda <miranda@adacore.com>
Tue, 12 May 2020 15:01:16 +0000 (11:01 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 7 Jul 2020 09:26:56 +0000 (05:26 -0400)
commit572fa852f2f5cba25f70fc49c9bf18493433617c
tree4dd1353b57cae90f7918293cfdba7e74aa3c109f
parent3a70a9811f2a6d49527dafc7d9bb928c162d382b
[Ada] Ada2020: AI12-0198 potentially unevaluated components of arrays

gcc/ada/

* sem_util.adb (Is_Potentially_Unevaluated): Protect reading
attribute Etype.
gcc/ada/sem_util.adb