aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2022-02-23 12:57:15 -0300
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-13 08:04:44 +0000
commit8150f295ec3b9b147c1355d136609c8226300375 (patch)
tree2fe060f1c7fb80e2ad90fe10dc948579fe0ab8b7 /gcc/ada/gcc-interface
parenta2cff9e9af15b179ff7a2c7e147e88ec8ce52936 (diff)
downloadgcc-8150f295ec3b9b147c1355d136609c8226300375.zip
gcc-8150f295ec3b9b147c1355d136609c8226300375.tar.gz
gcc-8150f295ec3b9b147c1355d136609c8226300375.tar.bz2
[Ada] Extend hardcfr testing (documentation)
Having realized that noreturn calls of __builtin_return are special, and other noreturn calls don't get edges to the exit block, I've realized the consequences of the logic to insert checking before noreturn and tail calls were not quite what I'd expected before. Specifically, noreturn calls other than __builtin_return don't get any checking whatsoever. Moreover, optional tail calls are only detected long after hardcfr; the logic should work for must-tail calls, but there doesn't seem to be a way to test it. Documentation has been simplified so as to remove mention of these possibilities, that can't really be relied on. gcc/ada/ * doc/gnat_rm/security_hardening_features.rst (Control Flow Redundancy): Drop mentions of noreturn and tail calls. * gnat_rm.texi: Regenerate.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions