[Ada] Missing length check on private type with unknown discriminants
authorEd Schonberg <schonberg@adacore.com>
Thu, 12 Dec 2019 10:02:23 +0000 (10:02 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 12 Dec 2019 10:02:23 +0000 (10:02 +0000)
commitc2f3e1a3e369fe549fa76e9821d2e17bc3d55dc7
tree4473ec6305948f9e8d6c881453c1469573a929f7
parent0e3a687f8c5351a52f48c4062c2cf88cdc7d4424
[Ada] Missing length check on private type with unknown discriminants

2019-12-12  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* exp_ch5.adb (Expand_N_Assognment_Statement): Extend the
processing involving private types with unknown discriminants to
handle the case where the full view of the type is an
unconstrained array type.

From-SVN: r279286
gcc/ada/ChangeLog
gcc/ada/exp_ch5.adb