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]

Another inlining idea


Hi!

In order to help the user specify inline decisions, how hard would it be
to implement an attribute that forces not inlining of the function itself,
but recursively all called functions from within it? F.i. once we start
processing the marked function, set a global flag to force all functions
inline. I'd suggest __attribute__((force_flat)).

Does this sound feasible?

Richard.


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