[Ada] Crash on membership test in expression function
authorEd Schonberg <schonberg@adacore.com>
Wed, 9 Sep 2020 12:40:25 +0000 (08:40 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 26 Oct 2020 08:58:52 +0000 (04:58 -0400)
commite8d6d5f039902653af5b04b58078bd1003acc624
treee4f03c9095061fb88a975260ebd8065261ae287a
parent3b01ce303bf507adcfd320a63a7692e487b4d090
[Ada] Crash on membership test in expression function

gcc/ada/

* freeze.adb (Freeze_Type_Refs): When an entity in an expression
function is a type, freeze the entity and not just its type,
which would be incomplete when the type is derived and/or
tagged.
gcc/ada/freeze.adb