summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-10 08:33:30 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-10 08:33:30 +0000
commit1c4eb1d6f30f07b93e018980a032ed91c1d4db69 (patch)
treecab3a30733a64efb52295d6d754530e8d435a064
parent4d1b43aa40a8bc2a7c7abcd21630d69a18953b7e (diff)
downloadppe42-gcc-1c4eb1d6f30f07b93e018980a032ed91c1d4db69.tar.gz
ppe42-gcc-1c4eb1d6f30f07b93e018980a032ed91c1d4db69.zip
2009-08-10 Vincent Celier <celier@adacore.com>
* prj-env.adb (Create_Config_Pragmas_File.Write_Temp_File): Do not use the temporary file name in the error message when the temporary file cannot be created. 2009-08-10 Yannick Moy <moy@adacore.com> * gnat_ugn.texi: Fix typo git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150619 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ada/ChangeLog10
-rw-r--r--gcc/ada/gnat_ugn.texi4
-rw-r--r--gcc/ada/prj-env.adb4
3 files changed, 13 insertions, 5 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index f4d02471f20..18c5ab9cf30 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,13 @@
+2009-08-10 Vincent Celier <celier@adacore.com>
+
+ * prj-env.adb (Create_Config_Pragmas_File.Write_Temp_File): Do not use
+ the temporary file name in the error message when the temporary file
+ cannot be created.
+
+2009-08-10 Yannick Moy <moy@adacore.com>
+
+ * gnat_ugn.texi: Fix typo
+
2009-08-10 Robert Dewar <dewar@adacore.com>
* exp_ch7.adb: Add ??? comment for last change
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 69816220163..97e5cf49301 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -21395,14 +21395,14 @@ a type with no parent and no progenitor, and otherwise as 1 + max of the
depths of the immediate parent and immediate progenitors.
This rule does not flag private extension
-declarations. In the case of a private extension, the correspondong full
+declarations. In the case of a private extension, the corresponding full
declaration is checked.
This rule has the following (mandatory) parameter for the @option{+R} option:
@table @emph
@item N
-Integer not less then -1 specifying the maximal allowed depth of any inheritance
+Integer not less than -1 specifying the maximal allowed depth of any inheritance
hierarchy. If the rule parameter is set to -1, the rule flags all the declarations
of tagged and interface types.
@end table
diff --git a/gcc/ada/prj-env.adb b/gcc/ada/prj-env.adb
index 392b356ee0d..16680521054 100644
--- a/gcc/ada/prj-env.adb
+++ b/gcc/ada/prj-env.adb
@@ -642,9 +642,7 @@ package body Prj.Env is
end if;
if not Status then
- Prj.Com.Fail
- ("could not create temporary file " &
- Get_Name_String (File_Name));
+ Prj.Com.Fail ("unable to create temporary file");
end if;
end Write_Temp_File;
OpenPOWER on IntegriCloud