re PR ada/18819 (ACATS cdd2a02 fail at runtime)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 21 Feb 2007 22:58:44 +0000 (22:58 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 21 Feb 2007 22:58:44 +0000 (22:58 +0000)
commitc0bca7e18124cf5b3097f1422d12c5f9f01e3344
treee841e671eb44336be52eec36eb603571bee1fe3b
parent410c3010d475d6fb63d329dfc3e2b3e77101c113
re PR ada/18819 (ACATS cdd2a02 fail at runtime)

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.

From-SVN: r122208
gcc/ada/ChangeLog
gcc/ada/sem_ch3.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/derived_aggregate.adb [new file with mode: 0644]