[Bug tree-optimization/66119] [5/6 Regression] in optimization of avx-code

jgreenhalgh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 3 09:52:00 GMT 2015


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

--- Comment #13 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> ---
Author: jgreenhalgh
Date: Fri Jul  3 09:52:20 2015
New Revision: 225372

URL: https://gcc.gnu.org/viewcvs?rev=225372&root=gcc&view=rev
Log:
[Backport Patch SRA] Fix PR66119 by calling get_move_ratio in SRA

gcc/

        PR tree-optimization/66119
        * toplev.c (process_options): Don't set up default values for
        the sra_max_scalarization_size_{speed,size} parameters.
        * tree-sra (analyze_all_variable_accesses): If no values
        have been set for the sra_max_scalarization_size_{speed,size}
        parameters, call get_move_ratio to get target defaults.

gcc/testsuite/

        PR tree-optimization/66119
        * g++.dg/opt/pr66119.C: New.


Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/opt/pr66119.C
      - copied unchanged from r225369, trunk/gcc/testsuite/g++.dg/opt/pr66119.C
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/toplev.c
    branches/gcc-5-branch/gcc/tree-sra.c



More information about the Gcc-bugs mailing list