aboutsummaryrefslogtreecommitdiff
path: root/gcc/dump-context.h
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2023-03-23 20:15:19 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-26 09:29:18 +0200
commit4a555bfee36bf0ce7513c37e9d4fb1f23405a064 (patch)
tree0a2d405585248e467ff84be84cdd30a4e9bcb181 /gcc/dump-context.h
parent70f609b01fde630141e683f9563545b8dff87ad6 (diff)
downloadgcc-4a555bfee36bf0ce7513c37e9d4fb1f23405a064.zip
gcc-4a555bfee36bf0ce7513c37e9d4fb1f23405a064.tar.gz
gcc-4a555bfee36bf0ce7513c37e9d4fb1f23405a064.tar.bz2
ada: Remove leftover code for counting protected entries
We used to count protected entries by iterating over component declarations, but then switched to iterating over entities and left some code that is no longer needed. Cleanup; semantics is unaffected (maybe except fixing an assertion failure in developer builds when there is pragma among entry family declarations). gcc/ada/ * exp_ch9.adb (Build_Entry_Count_Expression): Remove loop over component declaration; consequently remove a parameter that is no longer used; adapt callers. (Make_Task_Create_Call): Refine type of a local variable.
Diffstat (limited to 'gcc/dump-context.h')
0 files changed, 0 insertions, 0 deletions