This patch increases the maximum number of instantiations allowed
per compilation.

Tested on x86_64-pc-linux-gnu, committed on trunk

2012-03-07  Bob Duff  <d...@adacore.com>

        * hostparm.ads (Max_Instantiations): Increase parameter.

Index: hostparm.ads
===================================================================
--- hostparm.ads        (revision 185043)
+++ hostparm.ads        (working copy)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2009, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2012, Free Software Foundation, Inc.         --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -69,7 +69,7 @@
    --  of file names in the library, must be at least Max_Line_Length, but
    --  can be larger.
 
-   Max_Instantiations : constant := 4000;
+   Max_Instantiations : constant := 8000;
    --  Maximum number of instantiations permitted (to stop runaway cases
    --  of nested instantiations). These situations probably only occur in
    --  specially concocted test cases.

Reply via email to