[U-Boot] gcc-4.6 warnings

Mike Frysinger vapier at gentoo.org
Thu Aug 25 22:27:24 CEST 2011


On Thursday, August 25, 2011 15:50:57 Tabi Timur-B04825 wrote:
> On Thu, Aug 25, 2011 at 9:51 AM, Mike Frysinger <vapier at gentoo.org> wrote:
> > i feel like some (many?) #ifdef's in the tree could be done without
> > ifdefs (by relying on gcc's DCE) thus improving overall code quality
> 
> What's DCE?

dead code elimination
http://en.wikipedia.org/wiki/Dead_code_elimination

if we let the optimizer do it instead of the preprocessor, we get better code 
coverage in the face of different config settings.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110825/dfdcf6e1/attachment.pgp 


More information about the U-Boot mailing list