[Ada] Fix bogus error on conversion from Float to 128-bit unsigned
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 19 Aug 2020 19:54:21 +0000 (21:54 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 22 Oct 2020 12:11:23 +0000 (08:11 -0400)
commit46e54783503c30aecb7e36e6034f915ffc479d33
tree7c3ab03800ff3c5b12dd8507183b3b34ccf2cb6d
parentd7e20130650fb46d71e0403652e4e07bc14f9775
[Ada] Fix bogus error on conversion from Float to 128-bit unsigned

gcc/ada/

* checks.adb (Apply_Float_Conversion_Check): Saturate the bounds
of the check to those of the base type of the expression.
gcc/ada/checks.adb