[Ada] Do not set a bogus Esize on subtype built for Component_Size clause
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 16 Dec 2019 10:35:05 +0000 (10:35 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 16 Dec 2019 10:35:05 +0000 (10:35 +0000)
commit1cbd208038a63b4edaadd6b375ec5cdca5d90968
tree6b4fd8ab8718fea0dbc1190505d259e622a40e23
parent08611be2545ec4a84357ad343aaec71da92f2ce6
[Ada] Do not set a bogus Esize on subtype built for Component_Size clause

2019-12-16  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Set only
the RM_Size on the subtype built for a Component_Size clause
when the component type is a biased integer type.

From-SVN: r279437
gcc/ada/ChangeLog
gcc/ada/sem_ch13.adb