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]

Re: Converting tm.h macros to functions


Stan Shebs wrote:-

> This would be really great.  My one tiny worry is that the function
> calls will add tiny bit of overhead to an already-slow compiler.

I really don't think this is important.  Having enormous macros expand
inline can do as much to pessimize code as optimize it.  Escpecially
on register-starved archs I imagine.

The extra maintainability is a bigger win than any (very) small loss
in performance it might bring, IMO.  As a group we spend way too much
time fixing target or host-specific issues as it is.

Neil.


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