[Ada] Ignore subprogram address in ownership checking
authorYannick Moy <moy@adacore.com>
Wed, 21 Aug 2019 08:29:47 +0000 (08:29 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 21 Aug 2019 08:29:47 +0000 (08:29 +0000)
commit570d0072bdcdd0e9e7d6acb33f594c22efa24ac7
treec4c29837ff9a4e2ddafdb2c3fa0df2423c7d9319
parent78170c8ea108d76c9ed44b9a59546aadf64e9c3e
[Ada] Ignore subprogram address in ownership checking

Ownership checking done as in GNATprove should ignore address of
subprograms, as it applies only on objects. Now fixed.

There is no impact on compilation.

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

gcc/ada/

* sem_spark.adb (Process_Path): Do nothing on address of
subprogram.

From-SVN: r274779
gcc/ada/ChangeLog
gcc/ada/sem_spark.adb