aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/table.adb
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2019-08-14 09:51:16 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-08-14 09:51:16 +0000
commit9d7921310e5a265f0db62e45a881c266b8e4bec1 (patch)
treed70887e24a90ce400637867de0b9364d3e734079 /gcc/ada/table.adb
parentebe1a04f30e07c84264da571ac4da003e8c4bc05 (diff)
downloadgcc-9d7921310e5a265f0db62e45a881c266b8e4bec1.zip
gcc-9d7921310e5a265f0db62e45a881c266b8e4bec1.tar.gz
gcc-9d7921310e5a265f0db62e45a881c266b8e4bec1.tar.bz2
[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. From-SVN: r274452
Diffstat (limited to 'gcc/ada/table.adb')
0 files changed, 0 insertions, 0 deletions