[Ada] Fix crash on quantified expression in expression function
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 26 May 2020 10:55:26 +0000 (12:55 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 10 Jul 2020 09:16:17 +0000 (05:16 -0400)
commita042b9c6809a23bfb71676646a8c28b1e8e1249f
tree3ba15ce26f21b3ee05bc202390652ffe5885b2ae
parentb89896312467947542a6eebee886d182e6508760
[Ada] Fix crash on quantified expression in expression function

gcc/ada/

* einfo.adb (Write_Field24_Name): Handle E_Loop_Parameter.
* freeze.adb (Freeze_Expr_Types): Freeze the iterator type used as
Default_Iterator of the name of an N_Iterator_Specification node.
gcc/ada/einfo.adb
gcc/ada/freeze.adb