public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kenneth Johansson <kenneth@southpole.se>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] dlmalloc: Ignore gcc4.4 compiler warnings
Date: Fri, 24 Jul 2009 18:40:26 +0200	[thread overview]
Message-ID: <1248453626.8967.27.camel@localhost.localdomain> (raw)
In-Reply-To: <20090723190647.7EB9D832E416@gemini.denx.de>

On Thu, 2009-07-23 at 21:06 +0200, Wolfgang Denk wrote:
> Dear Kumar Gala,
> 
> In message <1247495041-8605-3-git-send-email-galak@kernel.crashing.org> you wrote:
> > The version of dlmalloc we are using generates a fair number of warnings
> > of the following form:
> > 
> > warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
> > 
> > Trying to fix these is just paper taping over the issue and we really
> > just need to look into a new malloc implementation.  So we disable these
> > particular warning checks for dlmalloc.c only.
> > 
> > Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> 
> Well, if you think fixing the problems is "paper taping over the
> issue", then how do you call NOT fixing the problems and shutting off
> the warnings?

Well he removed the optimization so the problem is no longer a problem.
It's the description of what was done that is wrong. 

  reply	other threads:[~2009-07-24 16:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-13 14:23 [U-Boot] [PATCH] drivers/bios_emulator: Fix gcc 4.4 compiler warning Kumar Gala
2009-07-13 14:24 ` [U-Boot] [PATCH] ahci: " Kumar Gala
2009-07-13 14:24   ` [U-Boot] [PATCH] dlmalloc: Ignore gcc4.4 compiler warnings Kumar Gala
2009-07-23  2:05     ` [U-Boot] gcc4.4 warning fix patches Kumar Gala
2009-07-23 19:06     ` [U-Boot] [PATCH] dlmalloc: Ignore gcc4.4 compiler warnings Wolfgang Denk
2009-07-24 16:40       ` Kenneth Johansson [this message]
2009-07-26 21:26         ` Wolfgang Denk
2009-07-28 22:52           ` Scott Wood
2009-07-29  5:47             ` Wolfgang Denk
2009-07-29  5:55               ` Kumar Gala
2009-07-29 12:53               ` Kenneth Johansson
2009-08-07  0:14               ` Kumar Gala
2009-07-23 19:05   ` [U-Boot] [PATCH] ahci: Fix gcc 4.4 compiler warning Wolfgang Denk
2009-07-23 19:03 ` [U-Boot] [PATCH] drivers/bios_emulator: " 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=1248453626.8967.27.camel@localhost.localdomain \
    --to=kenneth@southpole.se \
    --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