From 42fceb01cb620fe18ffbc6d58eb154c00307cfff Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sat, 9 Feb 2019 18:56:22 +0100 Subject: [PATCH] re PR ipa/88755 (ICE in compute_fn_summary, at ipa-fnsummary.c:2513 since r267601) 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 | 7 +++++++ gcc/params.def | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0cfc0f..720ec2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-02-09 Jan Hubicka + + 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 * config/rs6000/rs6000-string.c (expand_compare_loop, diff --git a/gcc/params.def b/gcc/params.def index f337d1e..3f15764 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -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", -- 2.7.4