r274452 - in /trunk/gcc/ada: ChangeLog sem_spar...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Wed Aug 14 09:51:00 GMT 2019


Author: pmderodat
Date: Wed Aug 14 09:51:16 2019
New Revision: 274452

URL: https://gcc.gnu.org/viewcvs?rev=274452&root=gcc&view=rev
Log:
[Ada] Fix spurious ownership error in GNATprove

Like Is_Path_Expression, function Is_Subpath_Expression should consider
the possibility that the subpath is a type conversion or type
qualification over the actual subpath node. This avoids spurious
ownership errors in GNATprove.

There is no impact on compilation.

2019-08-14  Yannick Moy  <moy@adacore.com>

gcc/ada/

	* sem_spark.adb (Is_Subpath_Expression): Take into account
	conversion and qualification.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/sem_spark.adb



More information about the Gcc-cvs mailing list