[Ada] System.Strings.Stream_Ops: do not depend on Stream_IO
authorDmitriy Anisimkov <anisimko@adacore.com>
Wed, 10 Jul 2019 09:03:00 +0000 (09:03 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 10 Jul 2019 09:03:00 +0000 (09:03 +0000)
Dependence was only from Ada.Streams.Stream_IO.End_Error exception which
is renaming of the Ada.IO_Exceptions.End_Error. Use
Ada.IO_Exceptions.End_Error directly.

2019-07-10  Dmitriy Anisimkov  <anisimko@adacore.com>

gcc/ada/

* libgnat/s-ststop.adb: Remove System.Strings.Stream_Ops
dependence on System.Streams.Stream_IO.

From-SVN: r273353

gcc/ada/ChangeLog
gcc/ada/libgnat/s-ststop.adb

index 94fab7f557832c49bbf9186982db473a6bfb521a..1ebe1195b3896c73e9bf87058a59db7bc779de4b 100644 (file)
@@ -1,3 +1,8 @@
+2019-07-10  Dmitriy Anisimkov  <anisimko@adacore.com>
+
+       * libgnat/s-ststop.adb: Remove System.Strings.Stream_Ops
+       dependence on System.Streams.Stream_IO.
+
 2019-07-10  Ed Schonberg  <schonberg@adacore.com>
 
        * sem_ch2.adb (Analyze_Integer_Literal): Preserve the type of
index 9f5c6ec0acd57891490681cbe8e41e263cf4b7ea..cf594b0a7298dcfa0d7068be391170e58f899eab 100644 (file)
@@ -31,8 +31,8 @@
 
 pragma Compiler_Unit_Warning;
 
+with Ada.IO_Exceptions;        use Ada.IO_Exceptions;
 with Ada.Streams;              use Ada.Streams;
-with Ada.Streams.Stream_IO;    use Ada.Streams.Stream_IO;
 with Ada.Unchecked_Conversion;
 
 with System;                   use System;