aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-08-23 18:35:59 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-09-05 13:05:16 +0200
commitadb3b4d11cb11a35b17bef2590bcdf6bffb06f21 (patch)
tree08767dddba9cbccdcc1f53fa43eabafc711df409 /gcc/c
parentd54e996a25d34d1cfaa5fd1de5127668bb43755a (diff)
downloadgcc-adb3b4d11cb11a35b17bef2590bcdf6bffb06f21.zip
gcc-adb3b4d11cb11a35b17bef2590bcdf6bffb06f21.tar.gz
gcc-adb3b4d11cb11a35b17bef2590bcdf6bffb06f21.tar.bz2
ada: Fix problematic secondary stack management in protected entry
The secondary stack mark goes formally out of scope before the finalizer reads it to reclaim the storage. gcc/ada/ * exp_ch9.adb (Build_Protected_Entry): Move the At_End procedure from the entry body to the inner block statement.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions