This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33826] [4.1/4.2/4.3 Regression] GCC generates wrong code for infinitely recursive functions
- From: "zadeck at naturalbridge dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2007 21:52:53 -0000
- Subject: [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/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from zadeck at naturalbridge dot com 2007-11-06 21:52 -------
Subject: Re: [4.1/4.2/4.3 Regression] GCC generates
wrong code for infinitely recursive functions
ebotcazou at gcc dot gnu dot org wrote:
> ------- Comment #8 from ebotcazou at gcc dot gnu dot org 2007-11-06 21:33 -------
>
>> I just talked to mark mitchell who was wearing his official language
>> lawyer hat at the time. He said i had to fix it. i will submit a patch
>> in the next day or so.
>>
>
> Thanks in advance.
>
>
>
I am only snarly about this because i do not want to give up marking
recurrences as pure or const. That will, in the long run, cost us.
Mark and i talked about adding another bit to the tree so that we could
support non recursive and recursive pure and const functions. the
recursive ones could still be cse'd but not dce'd. This is not
appropriate for stage 3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33826