[patch] Add fast<N>_t types to stdint.h

Ralf Corsepius ralf.corsepius@rtems.org
Thu Sep 22 15:11:00 GMT 2005


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
 





More information about the Newlib mailing list