diff options
author | Yannick Moy <moy@adacore.com> | 2019-07-04 08:06:00 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-04 08:06:00 +0000 |
commit | 194dc648e4b40ac705103cfc92dff0c11b82fb5a (patch) | |
tree | 6fae4dacd64dd3a0bef0bebc35242418ef303f50 /gcc/function-tests.c | |
parent | 7273107b948b81edc084b33e8e8fd4f3b4115f72 (diff) | |
download | gcc-194dc648e4b40ac705103cfc92dff0c11b82fb5a.zip gcc-194dc648e4b40ac705103cfc92dff0c11b82fb5a.tar.gz gcc-194dc648e4b40ac705103cfc92dff0c11b82fb5a.tar.bz2 |
[Ada] Fix crash in SPARK ownership checking
Analysis could crash on extended return of a non-deep type, now fixed.
This has no impact on compilation.
2019-07-04 Yannick Moy <moy@adacore.com>
gcc/ada/
* sem_spark.adb (Check_Statement): Only check permission of
object in extended return when it is of a deep type.
From-SVN: r273055
Diffstat (limited to 'gcc/function-tests.c')
0 files changed, 0 insertions, 0 deletions