[Ada] Fix incorrect operand sharing after expansion
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 16 Apr 2020 21:42:13 +0000 (23:42 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 17 Jun 2020 08:14:19 +0000 (04:14 -0400)
commit67b2ed8e563ac254e6a7952cb7bff1d0f2d0a89a
treeccc4e8e98661400853659dca93fea27a8c059b12
parent765005dd6791889af2731073bb7c5f6305d14f01
[Ada] Fix incorrect operand sharing after expansion

2020-06-17  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* exp_ch4.adb (Expand_N_Op_Expon): Replace all occurrences of
the original right operand with the relocated version.
gcc/ada/exp_ch4.adb