This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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] Add fast<N>_t types to stdint.h


On Thu, 2005-09-22 at 07:55 -0700, Tim Prince wrote:
> Ralf Corsepius wrote:
> 
> >On Thu, 2005-09-22 at 08:17 -0500, Joel Sherrill  wrote:
> >  
> >
> >>Ralf Corsepius wrote:
> >>    
> >>
> >>
> >  
> >
> >>For this to work, there would have to be a gc predefine to indicate
> >>"size over speed".
> >>    
> >>
> >To some extend it exists:
> >
> >-Os causes cpp to add:
> ># 1 "<built-in>"
> >#define __OPTIMIZE_SIZE__ 1
> >
> >
> >  
> >
> 
> Allowing -Os to have such an effect on data type selection would break 
> things entirely.    IMHO, unexpected incompatibilities should not be 
> introduced between .o built with -Os and with -O2.
Yes, you are right, this would break ABIs, except in cases you'd have  a
multilib variant for this case.

But this hardly makes sense at all, so .. this was a stupid idea.

Ralf
 




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