]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Hang on cond expression as actual for anonymous access formal
authorJustin Squirek <squirek@adacore.com>
Tue, 21 Jul 2020 19:06:37 +0000 (15:06 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 20 Oct 2020 07:21:43 +0000 (03:21 -0400)
commit04b06947cbcfebaa1ba5beb3c9bf086af5beabab
tree13a51a85ee27dfba0ac311ae0087f4254fbbcfc2
parent854f9a8167d49318a9b2318db64cf1b2c0297e29
[Ada] Hang on cond expression as actual for anonymous access formal

gcc/ada/

* exp_ch6.adb (Expand_Call_Helper): Properly handle the case
where the condition of a conditional expression has been
optimized out when calculating the value of an extra
accessibility parameter.
gcc/ada/exp_ch6.adb