aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2020-02-09 14:50:50 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-05 08:17:56 -0400
commitf67a6e93a15d3d1e00f35ba8f2fd231cad67048c (patch)
treeafa1fa2843534919da4eebb1a7611ba25147014b /gcc
parent4ccf713e545cc77ba13218c12ec47d21b01bab4e (diff)
downloadgcc-f67a6e93a15d3d1e00f35ba8f2fd231cad67048c.zip
gcc-f67a6e93a15d3d1e00f35ba8f2fd231cad67048c.tar.gz
gcc-f67a6e93a15d3d1e00f35ba8f2fd231cad67048c.tar.bz2
[Ada] Update comments wrt Ada 83 handling
2020-06-05 Arnaud Charlet <charlet@adacore.com> gcc/ada/ * cstand.adb (Create_Standard): Update comments.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/cstand.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/cstand.adb b/gcc/ada/cstand.adb
index dcdfe73..ba31bb6 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);