sh64-elf (SH5) port

Mark Mitchell mark@codesourcery.com
Tue Feb 5 13:04:00 GMT 2002


> I don't see it as a result of moving from macros to functions.  We
> could achieve the same result by doing away with #ifdef for those
> macros, and having them set to the appropriate default in defaults.h.
> Using macros (or inline functions) would give more opportunity for the
> compiler to optimize itself, too, but, as soon as you get a pointer to
> the function into a global structure, you miss the opportunity of
> inlining.

But functions give us type-checking.  And having signatures is part
of what I meant by self-documentation.

Let's not reopen this.  We've already beaten it to death.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Gcc-patches mailing list