[Ada] Fix Forced sign flag in formatted string
commit5dbb65676f93504199c1200bfe4dc9f3bc72e2b2
authorMarc Poulhiès <poulhies@adacore.com>
Tue, 22 Mar 2022 09:08:46 +0000 (22 10:08 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 17 May 2022 08:25:46 +0000 (17 08:25 +0000)
tree5a48ad39019b101f5cf7c186889d9114a29fb529
parent42fe7c9a809198b50070eb9033ba2be1447519b9
[Ada] Fix Forced sign flag in formatted string

Fix the Forced sign flag that is incorrectly ignored for scientific
notation and shortest representation.

gcc/ada/

* libgnat/g-forstr.adb (Is_Number): Add scientific notation and
shortest representation.
gcc/ada/libgnat/g-forstr.adb