aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.cc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2022-09-08 00:15:19 -0300
committerMarc Poulhiès <poulhies@adacore.com>2022-10-06 11:22:49 +0200
commit21130676a8032b53dad05d224a78244a419e4929 (patch)
treec67bda32d5660d5290bf1ed89212185f14b5ce13 /gcc/ada/gcc-interface/utils.cc
parent09203b787a9a64bd57ee83d1be1495975a384ec6 (diff)
downloadgcc-21130676a8032b53dad05d224a78244a419e4929.zip
gcc-21130676a8032b53dad05d224a78244a419e4929.tar.gz
gcc-21130676a8032b53dad05d224a78244a419e4929.tar.bz2
ada: hardened booleans: exemplify codegen changes
Show the sort of code that is to be expected from using hardened booleans in Ada code. Mention that C traps instead of raising exceptions. gcc/ada/ * doc/gnat_rm/security_hardening_features.rst: Add examples of codegen changes in hardened booleans. Mention that C traps where Ada raises exceptions. * gnat_rm.texi: Regenerate.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions