[Previous]  [Up]  [Next]

CFront problems

Inlining



CFront's inlining behaviour is extremely unpredictable. A particular problem is that CFront seems to be reluctant to inline member functions which are defined outside of the body of a class declarations. However, CFront often appears to be unable to compile class declarations with member functions defined in the class body.

This effectively rules out inlining in many cases - this affects the container template classes. The consequence is that essentially trivial functions are emitted out of line, with a negative impact on performace (function call overhead) and code size (function prologues and epiligues are emitted, and function calls interfere with compiler register optimizations).


 [Previous]  [Up]  [Next]