aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2019-08-14 09:52:06 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-08-14 09:52:06 +0000
commitae3a2b54d1a19f9ca4941645f71dddf675fbd19c (patch)
treea554b76fa2c23e4a5845dcbc2356eb24d1d1e554 /gcc/builtins.c
parent27af94e7b9a4702ea93348f917fd2ad82adb6853 (diff)
downloadgcc-ae3a2b54d1a19f9ca4941645f71dddf675fbd19c.zip
gcc-ae3a2b54d1a19f9ca4941645f71dddf675fbd19c.tar.gz
gcc-ae3a2b54d1a19f9ca4941645f71dddf675fbd19c.tar.bz2
[Ada] Strengthen Locked flag
This patch strengthens the Locked flag, by Asserting that it is False on operations that might cause reallocation. No change in behavior (except in the presence of compiler bugs), so no test. 2019-08-14 Bob Duff <duff@adacore.com> gcc/ada/ * table.adb: Assert that the table is not locked when increasing Last, even if it doesn't cause reallocation. In other words, assert that on operations that MIGHT cause reallocation. * table.ads: Fix comment accordingly. From-SVN: r274463
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions