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: PATCH: ARM EABI libsupc++ routines


On Thu, 2004-09-16 at 04:43, Mark Mitchell wrote:

> + #ifdef __ARM_EABI__
> +   return x;
> + #endif
>   }

Why don't you  #define __cxa_dtor_return(x) in the appropriate headers
to do the right thing (ie on ARM to return X and on generic to just
return)?  Then the main code doesn't need to contain #ifdefs.

R.


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