This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262789 - in /trunk/gcc/ada: ChangeLog exp_disp...
- From: pmderodat at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2018 08:09:30 -0000
- Subject: r262789 - in /trunk/gcc/ada: ChangeLog exp_disp...
Author: pmderodat
Date: Tue Jul 17 08:09:30 2018
New Revision: 262789
URL: https://gcc.gnu.org/viewcvs?rev=262789&root=gcc&view=rev
Log:
[Ada] Assertion_Policy for class-wide precondition
This patch fixes the compiler to that class-wide preconditions on primitive
operations of interfaces are not checked at run time when the Assertion_Policy
indicates that they should be ignored. This is required by the RM.
2018-07-17 Bob Duff <duff@adacore.com>
gcc/ada/
* exp_disp.adb (Build_Class_Wide_Check): Return early if the
precondition is supposed to be ignored.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_disp.adb