This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r273324 - in /trunk/gcc/ada: ChangeLog exp_util...
- From: pmderodat at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 10 Jul 2019 08:59:33 -0000
- Subject: r273324 - in /trunk/gcc/ada: ChangeLog exp_util...
Author: pmderodat
Date: Wed Jul 10 08:59:33 2019
New Revision: 273324
URL: https://gcc.gnu.org/viewcvs?rev=273324&root=gcc&view=rev
Log:
[Ada] Use renamings in GNATprove mode for side-effects extraction
In the GNATprove mode for formal verification, prefer renamings over
declaration of a constant to extract side-effects from expressions,
whenever the constant could be of an owning type, as declaring a
constant of an owning type has an effect on ownership which is
undesirable.
There is no impact on compilation.
2019-07-10 Yannick Moy <moy@adacore.com>
gcc/ada/
* exp_util.adb (Remove_Side_Effects): Prefer renamings for
objects of possible owning type in GNATprove mode.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_util.adb