This patch reduces the scope of a recently introduced variable because
it was much larger than it needed to be.
gcc/ada/ChangeLog:
* libgnat/s-stratt.adb (W_80IEEE): Make constant local.
Ada.Streams.Write (Stream.all, From_WWC (Item));
end W_WWC;
- N_IEEE_Extended_Precision_Bytes : constant := 10;
-
procedure W_80IEEE (Stream : not null access RST; Item : Long_Long_Float) is
begin
if XDR_Support then
declare
X : S_LLF := From_LLF (Item);
+
+ N_IEEE_Extended_Precision_Bytes : constant := 10;
begin
X (N_IEEE_Extended_Precision_Bytes + 1 .. X'Last) := (others => 0);
Ada.Streams.Write (Stream.all, X);