r191901 - in /trunk/gcc/ada: ChangeLog aspects....
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Mon Oct 1 08:39:00 GMT 2012
Author: charlet
Date: Mon Oct 1 08:39:43 2012
New Revision: 191901
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191901
Log:
2012-10-01 Ed Schonberg <schonberg@adacore.com>
* aspects.ads: Type_Invariant'class is a valid aspect.
* sem_ch6.adb (Is_Public_Subprogram_For): with the exception of
initialization procedures, subprograms that do not come from
source are not public for the purpose of invariant checking.
* sem_ch13.adb (Build_Invariant_Procedure): Handle properly the
case of a non-private type in a package without a private part,
when the type inherits invariants from its ancestor.
2012-10-01 Ed Schonberg <schonberg@adacore.com>
* exp_ch3.adb (Build_Record_Invariant_Proc): new procedure to
generate a checking procedure for record types that may have
components whose types have type invariants declared.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/aspects.ads
trunk/gcc/ada/exp_ch3.adb
trunk/gcc/ada/sem_ch13.adb
trunk/gcc/ada/sem_ch6.adb
More information about the Gcc-cvs
mailing list