[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 1 Sep 2011 10:50:31 +0000 (12:50 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 1 Sep 2011 10:50:31 +0000 (12:50 +0200)
2011-09-01  Vincent Celier  <celier@adacore.com>

* prj-env.adb (Create_Config_Pragmas_File.Check): Put all naming
exceptions in the config pragmas file.

2011-09-01  Tristan Gingold  <gingold@adacore.com>

* gnat_ugn.texi: Document GNAT_STACK_SIZE on IVMS.

From-SVN: r178404

gcc/ada/ChangeLog
gcc/ada/gnat_ugn.texi
gcc/ada/prj-env.adb

index ca4fecd279e666ec438a7e01875c48b619cc16d9..685c16f77170474e53b465d0ea13b024b463c4b9 100644 (file)
@@ -1,3 +1,12 @@
+2011-09-01  Vincent Celier  <celier@adacore.com>
+
+       * prj-env.adb (Create_Config_Pragmas_File.Check): Put all naming
+       exceptions in the config pragmas file.
+
+2011-09-01  Tristan Gingold  <gingold@adacore.com>
+
+       * gnat_ugn.texi: Document GNAT_STACK_SIZE on IVMS.
+
 2011-09-01  Hristian Kirtchev  <kirtchev@adacore.com>
 
        * exp_ch7.adb (Find_Insertion_List): New routine.
index de51c76781eb2f4ab2beebe981dd90df8465a40f..62c426e8f995742efd050659ff2e6cedf7c3249d 100644 (file)
@@ -17267,6 +17267,15 @@ A consequence of the @option{/p0image} qualifier is also to makes RMS buffers
 be placed in P0 space.  Refer to @cite{HP OpenVMS Linker Utility Manual} for
 more details about the @option{/p0image} qualifier and the @option{stack}
 option.
+
+@noindent
+On Itanium platforms, you can instead assign the @samp{GNAT_STACK_SIZE} and
+@samp{GNAT_RBS_SIZE} logicals to the size of the primary and register
+stack in kilobytes.  For example:
+
+@smallexample
+$ define GNAT_RBS_SIZE 1024 ! Limit the RBS size to 1MB.
+@end smallexample
 @end ifset
 
 @node Static Stack Usage Analysis
index 40f4ae5cb13715ab62b2157341133481689a5975..0c80f7f7b9483ab142f47b0a65f1ccae14154e9c 100644 (file)
@@ -526,9 +526,10 @@ package body Prj.Env is
          while Element (Iter) /= No_Source loop
             Source := Element (Iter);
 
-            if Source.Index >= 1
-              and then not Source.Locally_Removed
+            if not Source.Locally_Removed
               and then Source.Unit /= null
+              and then
+                (Source.Index >= 1 or else Source.Naming_Exception)
             then
                Put (Source);
             end if;