diff options
author | Hristian Kirtchev <kirtchev@adacore.com> | 2019-07-05 07:03:15 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-05 07:03:15 +0000 |
commit | 9880061b346330e7c986016bdec75f38659f8793 (patch) | |
tree | b1d51f2c7107ba6b077bb2d6db13ef83c56c8568 /gcc/tree-scalar-evolution.c | |
parent | d90eeca129a12d2236f8625d8ea5c93826bb526f (diff) | |
download | gcc-9880061b346330e7c986016bdec75f38659f8793.zip gcc-9880061b346330e7c986016bdec75f38659f8793.tar.gz gcc-9880061b346330e7c986016bdec75f38659f8793.tar.bz2 |
[Ada] Crash on deallocating component with discriminated task
This patch modifies the generation of task deallocation code to examine
the underlying type for task components.
2019-07-05 Hristian Kirtchev <kirtchev@adacore.com>
gcc/ada/
* exp_ch7.adb (Cleanup_Record): Use the underlying type when
checking for components with tasks.
gcc/testsuite/
* gnat.dg/task3.adb, gnat.dg/task3.ads, gnat.dg/task3_pkg1.ads,
gnat.dg/task3_pkg2.ads: New testcase.
From-SVN: r273121
Diffstat (limited to 'gcc/tree-scalar-evolution.c')
0 files changed, 0 insertions, 0 deletions