This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/54146] Very slow compile with attribute((flatten))


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54146

--- Comment #57 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-08-21 13:34:28 UTC ---
Author: rguenth
Date: Tue Aug 21 13:34:19 2012
New Revision: 190562

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190562
Log:
2012-08-21  Richard Guenther  <rguenther@suse.de>

    Backport from mainline
    2012-08-16  Richard Guenther  <rguenther@suse.de>

    PR middle-end/54146
    * tree-ssa-loop-niter.c (find_loop_niter_by_eval): Free the
    exit vector.
    * ipa-pure-const.c (analyze_function): Use FOR_EACH_LOOP_BREAK.
    * cfgloop.h (FOR_EACH_LOOP_BREAK): Fix.
    * tree-ssa-structalias.c (handle_lhs_call): Properly free rhsc.
    * tree-ssa-loop-im.c (analyze_memory_references): Adjust.
    (tree_ssa_lim_finalize): Free all mem_refs.
    * tree-ssa-sccvn.c (extract_and_process_scc_for_name): Free
    scc when bailing out.
    * modulo-sched.c (sms_schedule): Use FOR_EACH_LOOP_BREAK.
    * ira-build.c (loop_with_complex_edge_p): Free loop exit vector.
    * graphite-sese-to-poly.c (scop_ivs_can_be_represented): Use
    FOR_EACH_LOOP_BREAK.

    2012-08-17  Richard Guenther  <rguenther@suse.de>

    * tree-sra.c (modify_function): Free redirect_callers vector.
    * ipa-split.c (split_function): Free args_to_pass vector.
    * tree-vect-stmts.c (vectorizable_operation): Do not pre-allocate
    vec_oprnds.
    (new_stmt_vec_info): Do not pre-allocate STMT_VINFO_SAME_ALIGN_REFS.
    * tree-vect-slp.c (vect_free_slp_instance): Free the instance.
    (vect_analyze_slp_instance): Free everything.
    (destroy_bb_vec_info): Free the SLP instances.

    2012-08-17  Richard Guenther  <rguenther@suse.de>

    * params.def (integer-share-limit): Decrease from 256 to 251,
    add rationale.

    2012-08-21  Richard Guenther  <rguenther@suse.de>

    * tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free
    the affine expansion cache.

Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/cfgloop.h
    branches/gcc-4_7-branch/gcc/graphite-sese-to-poly.c
    branches/gcc-4_7-branch/gcc/ipa-pure-const.c
    branches/gcc-4_7-branch/gcc/ipa-split.c
    branches/gcc-4_7-branch/gcc/ira-build.c
    branches/gcc-4_7-branch/gcc/modulo-sched.c
    branches/gcc-4_7-branch/gcc/params.def
    branches/gcc-4_7-branch/gcc/tree-sra.c
    branches/gcc-4_7-branch/gcc/tree-ssa-loop-im.c
    branches/gcc-4_7-branch/gcc/tree-ssa-loop-niter.c
    branches/gcc-4_7-branch/gcc/tree-ssa-sccvn.c
    branches/gcc-4_7-branch/gcc/tree-ssa-structalias.c
    branches/gcc-4_7-branch/gcc/tree-vect-slp.c
    branches/gcc-4_7-branch/gcc/tree-vect-stmts.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]