[Ada] Missing tagged type decoration in corresponding record subtypes
authorJavier Miranda <miranda@adacore.com>
Tue, 17 Sep 2019 07:59:58 +0000 (07:59 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 17 Sep 2019 07:59:58 +0000 (07:59 +0000)
commit01e44bfa81a3423d55e5d624e2c7241daedf44e4
tree47d00eb918b1cc27f59a5dd7a3ba0a0abc1281a8
parent327940801d612d563781e5b58063889d247058b4
[Ada] Missing tagged type decoration in corresponding record subtypes

The frontend silently skips propagating attribute Is_Tagged_Type to the
constrained corresponding record subtype associated with a protected
type or task type with discriminants. This change does not affect the
functionality of the compiler; it leaves more clean the decoration of
internal entities.

2019-09-17  Javier Miranda  <miranda@adacore.com>

gcc/ada/

* sem_ch3.adb (Constrain_Corresponding_Record): Propagate
attribute Is_Tagged_Type.

From-SVN: r275777
gcc/ada/ChangeLog
gcc/ada/sem_ch3.adb