ada: Fix GNAT.Formatted_String's handling of real values
authorRonan Desplanques <desplanques@adacore.com>
Fri, 9 Dec 2022 10:29:02 +0000 (11:29 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 3 Jan 2023 09:29:54 +0000 (10:29 +0100)
commit54d7221aca4b4aa2e20534924215cc39ebe2cd73
tree9c94eb49a074a2c30fce7c28193daad8758e9ce8
parent7bad99da3d2a1511407136863918dabc009a7bbf
ada: Fix GNAT.Formatted_String's handling of real values

Before this patch, passing a width and a precision through
arguments with the "*" syntax always failed for real values in
GNAT.Formatted_String's routines.

gcc/ada/

* libgnat/g-forstr.adb (P_Flt_Format): Add "*" syntax handling.
gcc/ada/libgnat/g-forstr.adb