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 tree-optimization/47615] [4.5 Regression] ICE: too deep recursion in phi_translate/phi_translate_1 with -ftree-pre -fno-tree-fre -fno-tree-sra


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

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-02 13:56:48 UTC ---
Author: rguenth
Date: Wed Mar  2 13:56:41 2011
New Revision: 170614

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170614
Log:
2011-03-02  Richard Guenther  <rguenther@suse.de>

    Backport from mainline
    2011-02-07  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/47615
    * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument.
    * tree-ssa-sccvn.c (default_vn_walk_kind): New global.
    (run_scc_vn): Initialize it.
    (visit_reference_op_load): Use it.
    * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE.

    * g++.dg/opt/pr47615.C: New testcase.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/opt/pr47615.C
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-ssa-pre.c
    branches/gcc-4_5-branch/gcc/tree-ssa-sccvn.c
    branches/gcc-4_5-branch/gcc/tree-ssa-sccvn.h


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