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

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




------- Comment #12 from richard dot guenther at gmail dot com  2007-11-08 09:08 -------
Subject: Re:  [4.1/4.2/4.3 Regression] GCC generates wrong code for infinitely
recursive functions

On 11/7/07, Kenneth Zadeck <zadeck@naturalbridge.com> wrote:
> This patch keeps recursive functions from being marked as pure or const.
>
> Full testing in progress on x86-64.  But the code seems to work properly.
>
> Ok to commit when the full testing is finished?

Ok.

Thanks,
Richard.

> Kenny
>
> 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-07  Kenneth Zadeck <zadeck@naturalbridge.com>
>
>     PR middle-end/33826
>     * gcc.dg/pr33826.c: New.
>
>
>
>


-- 


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: