[Ada] Wrong compile time evaluation of Shift_Right
authorArnaud Charlet <charlet@adacore.com>
Thu, 5 Nov 2020 09:48:28 +0000 (04:48 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 27 Nov 2020 09:16:02 +0000 (04:16 -0500)
commit4a3b4c2a453369f7c72b0b3be8567134533c01bb
tree238199eab0ff43867be2209b57bb0275858f6cc1
parentd6a52e47ac1705bdf7c527005b42f3e8ba5da858
[Ada] Wrong compile time evaluation of Shift_Right

gcc/ada/

* sem_eval.adb (Fold_Shift): Fix evaluation of Shift_Right on
negative values.
gcc/ada/sem_eval.adb