OSDN Git Service

PR target/39942
[pf3gnuchains/gcc-fork.git] / gcc / params.def
index 684de5e..9b5db87 100644 (file)
@@ -139,6 +139,14 @@ DEFPARAM (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY,
          "Inline recursively only when the probability of call being executed exceeds the parameter",
          10, 0, 0)
 
+/* Limit of iterations of early inliner.  This basically bounds number of
+   nested indirect calls early inliner can resolve.  Deeper chains are still
+   handled by late inlining.  */
+DEFPARAM (PARAM_EARLY_INLINER_MAX_ITERATIONS,
+         "max-early-inliner-iterations",
+         "The maximum number of nested indirect inlining performed by early inliner",
+         10, 0, 0)
+
 /* Limit the number of expansions created by the variable expansion
    optimization to avoid register pressure.  */
 DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS,