[Ada] Raise Constraint_Error for Compose and Scaling if Machine_Overflows
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 25 Jan 2021 18:22:39 +0000 (19:22 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 May 2021 09:28:55 +0000 (05:28 -0400)
commitfb246154cdeb518b8e8a584032afbda4d381a03b
tree34efcaafc88ca938eb12f6ba38381c2c8cefbfbb
parent0e1e07728074a7162c8173abd10bc32e814ea254
[Ada] Raise Constraint_Error for Compose and Scaling if Machine_Overflows

gcc/ada/

* libgnat/s-fatgen.adb (Scaling): Raise Constraint_Error in the
overflow case when T'Machine_Overflows is True.
gcc/ada/libgnat/s-fatgen.adb