This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/18819] [4.2/4.3 regression] ACATS cdd2a02 fail at runtime
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Feb 2007 22:58:55 -0000
- Subject: [Bug ada/18819] [4.2/4.3 regression] ACATS cdd2a02 fail at runtime
- References: <bug-18819-7210@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #35 from ebotcazou at gcc dot gnu dot org 2007-02-21 22:58 -------
Subject: Bug 18819
Author: ebotcazou
Date: Wed Feb 21 22:58:44 2007
New Revision: 122208
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122208
Log:
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.
Added:
trunk/gcc/testsuite/gnat.dg/derived_aggregate.adb
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_ch3.adb
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18819