[U-Boot] [PATCH] GCC4.4: Squash multiple warnings due to strict aliasing

Marek Vasut marek.vasut at gmail.com
Mon Sep 26 19:37:01 CEST 2011


On Monday, September 26, 2011 01:30:41 PM Wolfgang Denk wrote:
> Dear Marek Vasut,
> 
> In message <201109261132.43616.marek.vasut at gmail.com> you wrote:
> > > Would it be better to change the __arch_putb macro into an extern
> > > inline function instead which would catch these and future cases?
> > 
> > Yes, but you'll need to do that on a much larger scale. Is anyone up for
> > doing it ?
> 
> What exactly are the advantages, and what the disadvantages?
> 
> code size / memory footprint?

I assume converting those to inline function will yield no memory usage growth 
at all.
> 
> Best regards,
> 
> Wolfgang Denk


More information about the U-Boot mailing list