r244629 - in /trunk/gcc/ada: ChangeLog exp_ch7....
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Thu Jan 19 13:08:00 GMT 2017
Author: charlet
Date: Thu Jan 19 13:08:16 2017
New Revision: 244629
URL: https://gcc.gnu.org/viewcvs?rev=244629&root=gcc&view=rev
Log:
2017-01-19 Claire Dross <dross@adacore.com>
* exp_ch7.adb (Build_Invariant_Procedure_Body): Semi-insert the
body into the tree for GNATprove by setting its Parent field. The
components invariants of composite types are not checked by
the composite type's invariant procedure in GNATprove mode.
(Build_Invariant_Procedure_Declaration): Semi-insert the
declaration into the tree for GNATprove by setting its Parent
field.
* freeze.adb (Freeze_Arry_Type):In GNATprove mode, do not add
the component invariants to the array type invariant procedure
so that the procedure can be used to check the array type
invariants if any.
(Freeze_Record_Type): In GNATprove mode, do
not add the component invariants to the record type invariant
procedure so that the procedure can be used to check the record
type invariants if any.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_ch7.adb
trunk/gcc/ada/freeze.adb
More information about the Gcc-cvs
mailing list