[Ada] Fix folding of comparison operators in GNATprove mode
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 9 Nov 2020 13:13:58 +0000 (14:13 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 30 Nov 2020 14:16:16 +0000 (09:16 -0500)
commit9784779754d2861aa1b9c8d94da971f83e383e01
tree29b80b7503f0fb5fcf80c0be86e04d870e9ab751
parenta442bed36cfbfb739244963f22eaf10320a27ec9
[Ada] Fix folding of comparison operators in GNATprove mode

gcc/ada/

* exp_util.adb (Get_Current_Value_Condition): Don't use current
value tracking in GNATprove mode.
* sem_res.adb (Resolve_Comparison_Op): Remove incomplete
special-casing for folding in GNATprove mode.
gcc/ada/exp_util.adb
gcc/ada/sem_res.adb