re PR ipa/88755 (ICE in compute_fn_summary, at ipa-fnsummary.c:2513 since r267601)
authorJan Hubicka <hubicka@ucw.cz>
Sat, 9 Feb 2019 17:56:22 +0000 (18:56 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 9 Feb 2019 17:56:22 +0000 (17:56 +0000)
PR ipa/88755
* params.def (uninlined-function-insns, uninlined-function-time,
uninlined-thunk-insns, uninlined-thunk-time): Add artificial upper
bound so we don't get overflows.

From-SVN: r268727

gcc/ChangeLog
gcc/params.def

index b0cfc0f..720ec2e 100644 (file)
@@ -1,3 +1,10 @@
+2019-02-09  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR ipa/88755
+       * params.def (uninlined-function-insns, uninlined-function-time,
+       uninlined-thunk-insns, uninlined-thunk-time): Add artificial upper
+       bound so we don't get overflows.
+
 2019-02-09  Aaron Sawdey  <acsawdey@linux.ibm.com>
 
        * config/rs6000/rs6000-string.c (expand_compare_loop,
index f337d1e..3f15764 100644 (file)
@@ -96,23 +96,23 @@ DEFPARAM (PARAM_UNINLINED_FUNCTION_INSNS,
          "uninlined-function-insns",
          "Instruction accounted for function prologue, epilogue and other"
          " overhead.",
-         2, 0, 0)
+         2, 0, 1000000)
 
 DEFPARAM (PARAM_UNINLINED_FUNCTION_TIME,
          "uninlined-function-time",
          "Time accounted for function prologue, epilogue and other"
          " overhead.",
-         0, 0, 0)
+         0, 0, 1000000)
 
 DEFPARAM (PARAM_UNINLINED_FUNCTION_THUNK_INSNS,
          "uninlined-thunk-insns",
          "Instruction accounted for function thunk overhead.",
-         2, 0, 0)
+         2, 0, 1000000)
 
 DEFPARAM (PARAM_UNINLINED_FUNCTION_THUNK_TIME,
          "uninlined-thunk-time",
          "Time accounted for function thunk overhead.",
-         2, 0, 0)
+         2, 0, 1000000)
 
 DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE,
          "max-inline-insns-recursive",