This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] MIPS function attributes for interrupt handlers
Mark Mitchell wrote:
> Thiemo Seufer wrote:
> > The ifdef goo goes typically in the implementation of ARCH_MYLOCK,
> > declaring function entry/attributes etc. is easy to hide in preprocessor
> > macros.
> Yes, but why should you have to know that stuff? Why not let the
> compiler do it for you?
It is a trivial one-time effort which doesn't compare to writing correct
assembler code. So this argument is rather weak, IMHO.