Patchwork [Ada] Increase maximum number of instantiations

login
register
mail settings
Submitter Arnaud Charlet
Date March 7, 2012, 2:37 p.m.
Message ID <20120307143755.GA10714@adacore.com>
Download mbox | patch
Permalink /patch/145298/
State New
Headers show

Comments

Arnaud Charlet - March 7, 2012, 2:37 p.m.
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  <duff@adacore.com>

	* hostparm.ads (Max_Instantiations): Increase parameter.

Patch

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.