public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/slp-function-v2)] [Ada] Update comments wrt Ada 83 handling
@ 2020-06-11  9:57 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2020-06-11  9:57 UTC (permalink / raw)
  To: gcc-cvs

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

commit f67a6e93a15d3d1e00f35ba8f2fd231cad67048c
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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-11  9:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11  9:57 [gcc(refs/users/marxin/heads/slp-function-v2)] [Ada] Update comments wrt Ada 83 handling Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).