[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
Showing
gcc/testsuite/gnat.dg/task3.adb
0 → 100644
gcc/testsuite/gnat.dg/task3.ads
0 → 100644
gcc/testsuite/gnat.dg/task3_pkg1.ads
0 → 100644
gcc/testsuite/gnat.dg/task3_pkg2.ads
0 → 100644
Please
register
or
sign in
to comment