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/51042] [4.5/4.6 Regression] endless recursion in phi_translate


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

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-03 14:46:08 UTC ---
Author: rguenth
Date: Tue Jan  3 14:46:03 2012
New Revision: 182848

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

    Backport from mainline
    2011-11-10  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/51042
    * tree-ssa-pre.c (phi_translate_1): Avoid recursing on
    self-referential expressions.  Refactor code to avoid duplication.

    * gcc.dg/torture/pr51042.c: New testcase.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/torture/pr51042.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/tree-ssa-pre.c


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