aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorMarc Poulhiès <poulhies@adacore.com>2022-06-30 09:50:02 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-12 12:24:15 +0000
commit6e3c2ee1d17a45eaf2095d4f64462da0993b881e (patch)
treedbad9d6c0a00c7f40aa0c98ce1993a0c4b7eba39 /gcc/system.h
parent33338e7289288404de79cb57dd1003a7552fb3d4 (diff)
downloadgcc-6e3c2ee1d17a45eaf2095d4f64462da0993b881e.zip
gcc-6e3c2ee1d17a45eaf2095d4f64462da0993b881e.tar.gz
gcc-6e3c2ee1d17a45eaf2095d4f64462da0993b881e.tar.bz2
[Ada] Fix 0-sized secondary stack allocations
The Has_Enough_Free_Memory was not correctly reporting a completely full chunk in the case of a 0-sized allocation. gcc/ada/ * libgnat/s-secsta.adb (Has_Enough_Free_Memory): Check for full chunk before computing the available size.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions