[Bug ada/18819] [4.2/4.3 regression] ACATS cdd2a02 fail at runtime

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 21 23:00:00 GMT 2007



------- Comment #36 from ebotcazou at gcc dot gnu dot org  2007-02-21 23:00 -------
Subject: Bug 18819

Author: ebotcazou
Date: Wed Feb 21 23:00:01 2007
New Revision: 122209

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122209
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:
    branches/gcc-4_2-branch/gcc/testsuite/gnat.dg/derived_aggregate.adb
Modified:
    branches/gcc-4_2-branch/gcc/ada/ChangeLog
    branches/gcc-4_2-branch/gcc/ada/sem_ch3.adb
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18819



More information about the Gcc-bugs mailing list