This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug tree-optimization/33826] [4.1/4.2/4.3 Regression] GCC generates wrong code for infinitely recursive functions
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Kenneth Zadeck" <zadeck at naturalbridge dot com>
- Cc: gcc-bugzilla at gcc dot gnu dot org, zadeck at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>, "Eric Botcazou" <ebotcazou at libertysurf dot fr>
- Date: Thu, 8 Nov 2007 10:08:07 +0100
- Subject: Re: [Bug tree-optimization/33826] [4.1/4.2/4.3 Regression] GCC generates wrong code for infinitely recursive functions
- References: <bug-33826-12387@http.gcc.gnu.org/bugzilla/> <20071106212132.30537.qmail@sourceware.org> <47320767.4010004@naturalbridge.com>
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.
>
>
>
>