Re: optimizing static inline recursive functions

2008-11-01 Thread Richard Guenther
On Sat, Nov 1, 2008 at 8:27 AM, Reza Roboubi <[EMAIL PROTECTED]> wrote: > I believe gcc treats all function calls as fairly sacred and doesn't really > optimize across function calls much. For example, the pcre(regex) library > creates it's own stack frames and "simulates" the entire function recu

optimizing static inline recursive functions

2008-11-01 Thread Reza Roboubi
I believe gcc treats all function calls as fairly sacred and doesn't really optimize across function calls much. For example, the pcre(regex) library creates it's own stack frames and "simulates" the entire function recursion to overcome this (and I think it has to, otherwise big inefficiencie