[Ada] Crash on derived type with rep. clause and renamed discriminant
authorEd Schonberg <schonberg@adacore.com>
Fri, 8 May 2020 13:27:24 +0000 (09:27 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 6 Jul 2020 11:35:12 +0000 (07:35 -0400)
gcc/ada/

* exp_ch5.adb (Find_Component): If the target type is a derived
record type and the required component is a discriminant that is
renamed in the derived type declaration, use the name of the
original discriminant to locate the intended target component.


No differences found