This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
optimizing static inline recursive functions
- From: Reza Roboubi <reza at parvan dot net>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 01 Nov 2008 00:27:29 -0700
- Subject: optimizing static inline recursive functions
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 inefficiencies would result.)
Are there plans to add this feature to gcc?
Thanks a lot.
Reza.