PR ada/18819
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Feb 2007 22:58:44 +0000 (22:58 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Feb 2007 22:58:44 +0000 (22:58 +0000)
commit0108a1d0980e78f238048cab6a03b0ab87ab4d29
treee841e671eb44336be52eec36eb603571bee1fe3b
parent5bc7e01ad036358ab3d168903a45ab1ef284a185
PR ada/18819
* sem_ch3.adb (Create_Constrained_Components): for a subtype of an
untagged derived type, add hidden components to keep discriminant
layout consistent, when a given discriminant of the derived type
constraints several discriminants of the parent type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122208 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/sem_ch3.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/derived_aggregate.adb [new file with mode: 0644]