[Ada] CCG: restrict folding for boolean tests
authorArnaud Charlet <charlet@adacore.com>
Thu, 4 Jul 2019 08:05:23 +0000 (08:05 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 4 Jul 2019 08:05:23 +0000 (08:05 +0000)
commita0766a8258f014ac2715d8c49fcaf83b3eb62a00
tree7e29684bff87fdf983fa639ebe81a5831d7f2738
parentcd93d2d89d3a59e034263b1d1d657286b1074ead
[Ada] CCG: restrict folding for boolean tests

2019-07-04  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* exp_ch4.adb (Expand_Short_Circuit_Operator): Strip
N_Variable_Reference_Marker when checking for the presence of
actions.

From-SVN: r273047
gcc/ada/ChangeLog
gcc/ada/exp_ch4.adb