This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/22387] Ada compiler crash when inheriting from a record with custom layout



------- Comment #8 from sam at gcc dot gnu dot org  2008-04-15 19:06 -------
Subject: Bug 22387

Author: sam
Date: Tue Apr 15 19:05:29 2008
New Revision: 134326

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134326
Log:
2008-04-15  Ed Schonberg  <schonberg@adacore.com>

    gcc/ada/
        PR ada/22387
        * exp_ch5.adb (Expand_Assign_Record): Within an initialization
        procedure for a derived type retrieve the discriminant values from
        the parent using the corresponding discriminant.

2008-04-15  Samuel Tardieu  <sam@rfc1149.net>

    gcc/testsuite/
        PR ada/22387
        * gnat.dg/specs/corr_discr.ads: New.

Added:
    trunk/gcc/testsuite/gnat.dg/specs/corr_discr.ads
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/exp_ch5.adb
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]