aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2019-02-09 18:56:22 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2019-02-09 17:56:22 +0000
commit42fceb01cb620fe18ffbc6d58eb154c00307cfff (patch)
treec5bfb1a6e047298e6500dc6b09791ffc86b6e9c4 /gcc
parent1fe27030ff6424736ddda42874a018d6bc35db70 (diff)
downloadgcc-42fceb01cb620fe18ffbc6d58eb154c00307cfff.zip
gcc-42fceb01cb620fe18ffbc6d58eb154c00307cfff.tar.gz
gcc-42fceb01cb620fe18ffbc6d58eb154c00307cfff.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/params.def8
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 <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,
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",