aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/vms_data.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2010-08-10 13:50:53 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2010-08-10 15:50:53 +0200
commitb5c739f9f5969b4803b40467822b0b64e0ecd35e (patch)
tree68d280c8a731b8532d94ecf7f4d3dbceace88a64 /gcc/ada/vms_data.ads
parentd606f1df142db414d00e0089acb76f4d29caf441 (diff)
downloadgcc-b5c739f9f5969b4803b40467822b0b64e0ecd35e.zip
gcc-b5c739f9f5969b4803b40467822b0b64e0ecd35e.tar.gz
gcc-b5c739f9f5969b4803b40467822b0b64e0ecd35e.tar.bz2
a-chahan.ads: Add comments on handling of obsolescent entries.
2010-08-10 Robert Dewar <dewar@adacore.com> * a-chahan.ads: Add comments on handling of obsolescent entries. * opt.ads: Add Ada_2005 and Ada_2012 renamings for versions. * restrict.adb (Check_Obsolescent_2005_Entity): New procedure. * restrict.ads (Check_Obsolescent_2005_Entity): New procedure. * sem_attr.adb (Analyze_Access_Attribute): Call Check_Obsolescent_2005_Entity to check for access to obsolescent Ada.Characters.Handling subprogram. (Analyze_Attribute, case Class): Applying Class to untagged incomplete type is obsolescent in Ada 2005. (Analyze_Attribute, case Constrained): Better placement of flag when flagged as obsolescent feature. (Analyze_Attribute, case Storage_Size): Use with tasks is obsolescent * sem_ch10.adb (Analyze_With_Clause): With of renamings such as Text_IO is an obsolescent feature. * sem_ch11.adb (Analyze_Raise_Statement): Numeric_Error is obsolescent feature. * sem_ch8.adb (Analyze_Subprogram_Renaming): Call Check_Obsolescent_2005_Entity to check for renaming obsolete Ada.Characters.Handling subprogram. * sem_prag.adb (Process_Restrictions_Or_Restriction_Warnings): Check for obsolescent restrictions in Ada 2005. (Analyze_Pragma, case Suppress): Entity arg is obsolescent in Ada 2005 (Analyze_Pragma, case Interface): Interface is obsolescent in Ada 2005 * sem_res.adb (Resolve_Call): Call Check_Obsolescent_2005_Entity to check for obsolescent references to Ada.Characters.Handling subprograms 2010-08-10 Robert Dewar <dewar@adacore.com> * einfo.adb, einfo.ads: Fix bad -gnatdt output for incomplete type. 2010-08-10 Robert Dewar <dewar@adacore.com> * errout.ads: Add VMS table entries for 2005, 12, 2012 switches * par-ch4.adb: Change wording of Ada 2012 messages * vms_data.ads: Add VMS entries for /2005, /12, /2012 From-SVN: r163063
Diffstat (limited to 'gcc/ada/vms_data.ads')
-rw-r--r--gcc/ada/vms_data.ads18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/ada/vms_data.ads b/gcc/ada/vms_data.ads
index 8454041..84571bb 100644
--- a/gcc/ada/vms_data.ads
+++ b/gcc/ada/vms_data.ads
@@ -1229,6 +1229,13 @@ package VMS_Data is
--
-- Allows GNAT to recognize the full range of Ada 2005 constructs.
+ S_GCC_Ada_2005 : aliased constant S := "/2005 " &
+ "-gnat2005";
+ -- /05 (D)
+ --
+ -- Allows GNAT to recognize the full range of Ada 2005 constructs.
+ -- Equivalent to /05 (/2005 is the preferred usage).
+
S_GCC_Ada_12 : aliased constant S := "/12 " &
"-gnat12";
-- /05 (D)
@@ -1236,6 +1243,14 @@ package VMS_Data is
-- Allows GNAT to recognize all implemented proposed Ada 2012
-- extensions. See features file for list of implemented features.
+ S_GCC_Ada_2012 : aliased constant S := "/2012 " &
+ "-gnat2012";
+ -- /05 (D)
+ --
+ -- Allows GNAT to recognize all implemented proposed Ada 2012
+ -- extensions. See features file for list of implemented features.
+ -- Equivalent to /12 (/2012 is the preferred usage).
+
S_GCC_Add : aliased constant S := "/ADD_PROJECT_SEARCH_DIR=*" &
"-aP*";
-- /ADD_PROJECT_SEARCH_PATH=(directory[,...])
@@ -3443,6 +3458,9 @@ package VMS_Data is
(S_GCC_Ada_83 'Access,
S_GCC_Ada_95 'Access,
S_GCC_Ada_05 'Access,
+ S_GCC_Ada_2005'Access,
+ S_GCC_Ada_12 'Access,
+ S_GCC_Ada_2012'Access,
S_GCC_Add 'Access,
S_GCC_Asm 'Access,
S_GCC_AValid 'Access,