[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug tree-optimization/33826] [4.1/4.2 Regression] GCC generates wrong code for infinitely recursive functions




------- Comment #21 from ghazi at gcc dot gnu dot org  2008-01-24 20:09 -------
Subject: Bug 33826

Author: ghazi
Date: Thu Jan 24 20:09:05 2008
New Revision: 131805

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131805
Log:
        Backport:
        2008-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * gcc.dg/pr33826.c: Require nonpic.

        2007-11-07  Kenneth Zadeck <zadeck@naturalbridge.com>

        PR middle-end/33826
        * ipa-pure-const (static_execute): Added code to keep recursive
        functions from being marked as pure or const.
        * ipa-utils (searchc): Fixed comment.

        2007-11-08  Kenneth Zadeck <zadeck@naturalbridge.com>

        PR middle-end/33826
        * gcc.dg/pr33826.c: New.
        * gcc.dg/tree-ssa/20030714-1.c: Removed two tests that depend on 
        recursive functions being marked pure or const.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr33826.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/ipa-pure-const.c
    branches/gcc-4_2-branch/gcc/ipa-utils.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/20030714-1.c


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Reply to: