aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/errout.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2010-06-23 11:53:24 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2010-06-23 11:53:24 +0200
commit0eed45bbe286757689d39d5f345842b67c023ce4 (patch)
tree682a591ce203dec73771dbec80125a9be4066201 /gcc/ada/errout.ads
parent6b8cdb0ac2a57a4d025254e4e7e9cbb54fc72862 (diff)
downloadgcc-0eed45bbe286757689d39d5f345842b67c023ce4.zip
gcc-0eed45bbe286757689d39d5f345842b67c023ce4.tar.gz
gcc-0eed45bbe286757689d39d5f345842b67c023ce4.tar.bz2
[multiple changes]
2010-06-23 Eric Botcazou <ebotcazou@adacore.com> * exp_ch11.adb (Expand_Local_Exception_Handlers): Propagate the end label to the new sequence of statements. Set the sloc of the raise statement onto the new goto statements. 2010-06-23 Robert Dewar <dewar@adacore.com> * a-stuten.ads, a-stuten.adb: New files. * impunit.adb: Add engtry for Ada.Strings.UTF_Encoding (a-stuten.ads) * Makefile.rtl: Add entry for a-stuten (Ada.Strings.UTF_Encoding) 2010-06-23 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Add documentation of -gnat12 switch Add documentation of -gnatX switch. 2010-06-23 Ed Schonberg <schonberg@adacore.com> * inline.ads: Include the current Ada_Version in the info for pending instance bodies, so that declaration and body are compiled with the same Ada_Version. * inline.adb: Move with_clause for Opt to spec. * sem_ch12.adb (Analyze_Package_Instantiation, Analyze_Subprogram_Instantiation): Save current Ada_Version in Pending_Instantiation information. (Instantiate_Package_Body, Instantiate_Subprogram_Body, Inline_Package_Body): Use the Ada_Version present in the body information. 2010-06-23 Robert Dewar <dewar@adacore.com> * usage.adb: Add documentation for -gnat12 switch. * errout.ads: Add VMS alias entry for -gnat12 switch * gnat_rm.texi: Add documentation for pragma Ada_12 and Ada_2012 Add documentation for pragma Extensions_Allowed. * opt.ads: Add entry for Ada 2012 mode. * sem_ch4.adb, par-ch3.adb, par-ch4.adb: Use new Ada 2012 mode for 2012 features. * sem_prag.adb, par-prag.adb: Add processing for pragma Ada_12 and Ada_2012. * sem_ch13.adb: Add handling for Ada 2012 mode. * snames.ads-tmpl: Add entries for pragma Ada_2012 and Ada_12. * switch-c.adb: Add handling for -gnat12 switch. Implement -gnat2005 and -gnat2012. * usage.adb: Add documentation for -gnat12 switch. * vms_data.ads: Add /12 switch for Ada 2012 mode. From-SVN: r161268
Diffstat (limited to 'gcc/ada/errout.ads')
-rw-r--r--gcc/ada/errout.ads9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/errout.ads b/gcc/ada/errout.ads
index a6a72ae..8251126 100644
--- a/gcc/ada/errout.ads
+++ b/gcc/ada/errout.ads
@@ -376,6 +376,9 @@ package Errout is
Gname5 : aliased constant String := "gnat05";
Vname5 : aliased constant String := "05";
+ Gname6 : aliased constant String := "gnat12";
+ Vname6 : aliased constant String := "12";
+
type Cstring_Ptr is access constant String;
Gnames : array (Nat range <>) of Cstring_Ptr :=
@@ -383,14 +386,16 @@ package Errout is
Gname2'Access,
Gname3'Access,
Gname4'Access,
- Gname5'Access);
+ Gname5'Access,
+ Gname6'Access);
Vnames : array (Nat range <>) of Cstring_Ptr :=
(Vname1'Access,
Vname2'Access,
Vname3'Access,
Vname4'Access,
- Vname5'Access);
+ Vname5'Access,
+ Vname6'Access);
-----------------------------------------------------
-- Global Values Used for Error Message Insertions --