diff options
author | Bob Duff <duff@adacore.com> | 2022-06-20 13:59:03 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-07-12 12:24:10 +0000 |
commit | fe6f256d5ba85a588493a489af1bdbe8087e368a (patch) | |
tree | 6e0a038d2a2e3a239beb5879574b9ad28031adca /gcc/ada/fe.h | |
parent | 1ef1ac768ff108a6a2c08e18eec3309e182df142 (diff) | |
download | gcc-fe6f256d5ba85a588493a489af1bdbe8087e368a.zip gcc-fe6f256d5ba85a588493a489af1bdbe8087e368a.tar.gz gcc-fe6f256d5ba85a588493a489af1bdbe8087e368a.tar.bz2 |
[Ada] Ignore exceptions in task termination handlers
This patch fixes a bug in which if the environment task has a specific
termination handler, and that handler raises an exception, the handler
is called recursively, causing infinite recursion. The RM requires such
exceptions to be ignored.
gcc/ada/
* libgnarl/s-solita.adb (Task_Termination_Handler_T): Ignore all
exceptions propagated by Specific_Handler.
* libgnarl/s-tassta.adb, libgnarl/s-taskin.ads: Minor.
Diffstat (limited to 'gcc/ada/fe.h')
0 files changed, 0 insertions, 0 deletions