[PR 81248] Fix ipa-sra size check
authorMartin Jambor <mjambor@suse.cz>
Mon, 27 Nov 2017 10:33:06 +0000 (11:33 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 27 Nov 2017 10:33:06 +0000 (11:33 +0100)
commitbe025a2d99772df9ccea1b8b0aba5833bd8fc32c
tree1547c19540eafc5952a48ec76d071d3aea9f10a3
parent8cb715989f978104108606d65233838105fd41eb
[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.

From-SVN: r255163
gcc/ChangeLog
gcc/gimple-pretty-print.c
gcc/params.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr81248.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-2.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-31.c
gcc/tree-sra.c