public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] gcc-4.6 warnings
Date: Thu, 25 Aug 2011 16:27:24 -0400	[thread overview]
Message-ID: <201108251627.26232.vapier@gentoo.org> (raw)
In-Reply-To: <CAOZdJXWf9icui8i9GwcqAx5Y8wd2RhwLp5rwF=pNaqYL7A0sbg@mail.gmail.com>

On Thursday, August 25, 2011 15:50:57 Tabi Timur-B04825 wrote:
> On Thu, Aug 25, 2011 at 9:51 AM, Mike Frysinger <vapier@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 

  reply	other threads:[~2011-08-25 20:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 18:29 [U-Boot] gcc-4.6 warnings Kumar Gala
2011-08-24 18:47 ` Mike Frysinger
2011-08-24 19:05 ` Wolfgang Denk
2011-08-25  4:39   ` Kumar Gala
2011-08-25  5:52     ` Wolfgang Denk
2011-08-25 14:27       ` Kumar Gala
2011-08-25 14:51         ` Mike Frysinger
2011-08-25 19:50           ` Tabi Timur-B04825
2011-08-25 20:27             ` Mike Frysinger [this message]
2011-08-25 21:44               ` Timur Tabi
2011-08-25 21:45                 ` Timur Tabi
2011-08-25 21:58                 ` Mike Frysinger
2011-08-25 20:39         ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201108251627.26232.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox