This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]