]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Bad expansion with -gnato2 and if expression
authorArnaud Charlet <charlet@adacore.com>
Fri, 22 Jan 2021 13:55:13 +0000 (08:55 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 6 May 2021 07:51:42 +0000 (03:51 -0400)
commit369965ea43bf87a3b22610e8239f411d01daf969
treeb3df23049e881069fa5a0dbdde392e89eaebf978
parentc4aeb3c3a29a843f47bb5a207a968e2feb3b144d
[Ada] Bad expansion with -gnato2 and if expression

gcc/ada/

* exp_ch4.adb (Expand_N_If_Expression):
Apply_Arithmetic_Overflow_Check will not deal with
Then/Else_Actions so skip minimizing overflow checks if any
actions are present.
gcc/ada/exp_ch4.adb