https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293

--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Mon Apr 24 15:13:39 2017
New Revision: 247104

URL: https://gcc.gnu.org/viewcvs?rev=247104&root=gcc&view=rev
Log:
[PR 80293] Dont totally-scalarize char arrays

2017-04-24  Martin Jambor  <mjam...@suse.cz>

        PR tree-optimization/80293
        * tree-sra.c (scalarizable_type_p): New parameter const_decl, make
        char arrays not totally scalarizable if it is false.
        (analyze_all_variable_accesses): Pass correct value in the new
        parameter.  Add a statistics counter.

testsuite/
        * g++.dg/tree-ssa/pr80293.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr80293.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-sra.c

Reply via email to