This is the mail archive of the gcc-patches@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]

Re: [arm, patch] Remove redundant promotion of function arguments


> >-#ifdef PROMOTE_FOR_CALL_ONLY
> >+#ifndef PROMOTE_MODE
> >   if (! for_call)
> >     return mode;
> > #endif
> >
> >   switch (code)
> >     {

> made my brain hurt a little.  I was wondering if the first "#ifndef
> PROMOTE_MODE" should be "if !defined(PROMOTE_MODE) &&
> !defined(PROMOTE_FUNCTION_MODE)" -- but I guess it's correct the way it is.

Yes, this seemed a little strange to me too. However it preserves the existing 
behaviour.

Paul


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