[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 #7 from zadeck at naturalbridge dot com  2007-11-06 21:21 -------
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 #6 from ebotcazou at gcc dot gnu dot org  2007-11-06 19:04 -------
>   
>> Eric: do you mean that tail recursive calls are not allowed with -fstack-check?
>>     
>
> No, they are allowed.  Optimizing the Ada testcase into an infinite loop is OK
> if you don't consume the stack.
>
>
>   
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.


-- 


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: