[Ada] Update comments wrt Ada 83 handling
authorArnaud Charlet <charlet@adacore.com>
Sun, 9 Feb 2020 19:50:50 +0000 (14:50 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 5 Jun 2020 12:17:56 +0000 (08:17 -0400)
2020-06-05  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* cstand.adb (Create_Standard): Update comments.

gcc/ada/cstand.adb

index dcdfe73..ba31bb6 100644 (file)
@@ -1573,7 +1573,9 @@ package body CStand is
       Build_Exception (S_Tasking_Error);
 
       --  Numeric_Error is a normal exception in Ada 83, but in Ada 95
-      --  it is a renaming of Constraint_Error. Is this test too early???
+      --  it is a renaming of Constraint_Error. This test is too early since
+      --  it doesn't handle pragma Ada_83. But it's not worth the trouble of
+      --  fixing this.
 
       if Ada_Version = Ada_83 then
          Build_Exception (S_Numeric_Error);