diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-02-23 21:55:08 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-16 10:49:31 +0200 |
commit | 8e22376d8e2f2dd97e364aaf81a2b4260847e308 (patch) | |
tree | 984048ebd683c16f662665258f10fe3b97717fa2 /gcc/tree-vectorizer.h | |
parent | 55d11e8751e070e38f981e308d84dfde23c2af3d (diff) | |
download | gcc-8e22376d8e2f2dd97e364aaf81a2b4260847e308.zip gcc-8e22376d8e2f2dd97e364aaf81a2b4260847e308.tar.gz gcc-8e22376d8e2f2dd97e364aaf81a2b4260847e308.tar.bz2 |
ada: Propagate Program_Error from failed finalization of collection
This aligns finalization collections with finalization masters when it comes
to propagating an exception raised by the finalization of a specific object,
by always propagating Program_Error instead of the aforementioned exception.
gcc/ada/
* libgnat/s-finpri.adb (Raise_From_Controlled_Operation): New
declaration of imported procedure moved from...
(Finalize_Master): ...there.
(Finalize): Call Raise_From_Controlled_Operation instead of
Reraise_Occurrence to propagate the exception, if any.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions