This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Converting tm.h macros to functions
- To: Stan Shebs <shebs at apple dot com>
- Subject: Re: Converting tm.h macros to functions
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Tue, 19 Jun 2001 06:53:27 +0100
- Cc: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, gcc at gcc dot gnu dot org
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.