[Ada] Update comments wrt Ada 83 handling

2020-06-05  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* cstand.adb (Create_Standard): Update comments.
This commit is contained in:
Arnaud Charlet 2020-02-09 14:50:50 -05:00 committed by Pierre-Marie de Rodat
parent 4ccf713e54
commit f67a6e93a1
1 changed files with 3 additions and 1 deletions

View 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);