[gcc r11-997] [Ada] Update comments wrt Ada 83 handling

Pierre-Marie de Rodat pmderodat@gcc.gnu.org
Fri Jun 5 12:25:38 GMT 2020


https://gcc.gnu.org/g:f67a6e93a15d3d1e00f35ba8f2fd231cad67048c

commit r11-997-gf67a6e93a15d3d1e00f35ba8f2fd231cad67048c
Author: Arnaud Charlet <charlet@adacore.com>
Date:   Sun Feb 9 14:50:50 2020 -0500

    [Ada] Update comments wrt Ada 83 handling
    
    2020-06-05  Arnaud Charlet  <charlet@adacore.com>
    
    gcc/ada/
    
            * cstand.adb (Create_Standard): Update comments.

Diff:
---
 gcc/ada/cstand.adb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gcc/ada/cstand.adb b/gcc/ada/cstand.adb
index dcdfe736d77..ba31bb6cdc9 100644
--- a/gcc/ada/cstand.adb
+++ b/gcc/ada/cstand.adb
@@ -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);


More information about the Gcc-cvs mailing list