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

Wolfgang Denk wd at denx.de
Mon Sep 26 13:30:41 CEST 2011


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?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
ATTENTION: Despite Any Other Listing of Product Contents Found  Here-
on, the Consumer is Advised That, in Actuality, This Product Consists
Of 99.9999999999% Empty Space.


More information about the U-Boot mailing list