This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r136707 - in /trunk/gcc: ada/ChangeLog ada/decl...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 12 Jun 2008 13:19:06 -0000
- Subject: r136707 - in /trunk/gcc: ada/ChangeLog ada/decl...
Author: ebotcazou
Date: Thu Jun 12 13:19:06 2008
New Revision: 136707
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136707
Log:
* decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: In the case of a
constrained subtype of a discriminated type, discard the fields that
are beyond its limits according to its size.
Added:
trunk/gcc/testsuite/gnat.dg/discr9.adb
trunk/gcc/testsuite/gnat.dg/discr9.ads
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/decl.c
trunk/gcc/testsuite/ChangeLog