diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-11-27 10:33:06 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-11-27 10:33:06 +0000 |
commit | fb9eabe8647c506b090f97533b784e5571cd7559 (patch) | |
tree | 1547c19540eafc5952a48ec76d071d3aea9f10a3 /gcc/gimple-pretty-print.c | |
parent | 8f3ad62bb8e7bd2a4959948e4b63f01d9c7dfa4e (diff) | |
download | gcc-fb9eabe8647c506b090f97533b784e5571cd7559.tar.gz |
[PR 81248] Fix ipa-sra size check
2017-11-27 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/81248
* tree-sra.c (splice_param_accesses): Remove size check.
(decide_one_param_reduction): Fix size check.
* gimple-pretty-print.c (dump_profile): Silence warning.
* params.def (PARAM_IPA_SRA_PTR_GROWTH_FACTOR): Adjust description.
testsuite/
* g++.dg/ipa/pr81248.C: New test.
* gcc.dg/tree-ssa/ssa-pre-31.c: Disable IPA-SRA.
* gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255163 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-pretty-print.c')
-rw-r--r-- | gcc/gimple-pretty-print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c index 55c623e37bb..8bcc4e31bfb 100644 --- a/gcc/gimple-pretty-print.c +++ b/gcc/gimple-pretty-print.c @@ -84,7 +84,7 @@ debug_gimple_stmt (gimple *gs) static const char * dump_profile (profile_count &count) { - char *buf; + char *buf = NULL; if (!count.initialized_p ()) return ""; if (count.ipa_p ()) |