[Ada] Transient scope cleanup
authorBob Duff <duff@adacore.com>
Thu, 3 Jun 2021 16:10:30 +0000 (12:10 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 8 Jul 2021 13:34:23 +0000 (13:34 +0000)
commit7c092960f0d116abdba7e13aaf38fbadfdefbeb0
tree5212d98fc41671e89ba1ecb386fb4267bf0159af
parent6e8b502cb6c3e30ac59fc446b2e765e5b5a9d5a6
[Ada] Transient scope cleanup

gcc/ada/

* comperr.adb (Compiler_Abort): Call Sinput.Unlock, because if
this is called late, then Source_Dump would crash otherwise.
* debug.adb: Correct documentation of the -gnatd.9 switch.
* exp_ch4.adb (Expand_Allocator_Expression): Add a comment.
* exp_ch6.adb: Minor comment fixes.  Add assertion.
* exp_ch6.ads (Is_Build_In_Place_Result_Type): Correct comment.
* exp_ch7.adb, checks.ads: Minor comment fixes.
gcc/ada/checks.ads
gcc/ada/comperr.adb
gcc/ada/debug.adb
gcc/ada/exp_ch4.adb
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch6.ads
gcc/ada/exp_ch7.adb