From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Fix strict-aliasing warning in dlmalloc
Date: Tue, 04 Sep 2012 23:40:26 +0200 [thread overview]
Message-ID: <5046754A.5030601@googlemail.com> (raw)
In-Reply-To: <1346794267-10709-1-git-send-email-andreas.devel@googlemail.com>
Dear Andreas Bie?mann,
On 04.09.2012 23:31, andreas.devel at googlemail.com wrote:
> From: Simon Glass <sjg@chromium.org>
>
> This fixes the following warnings in dlmalloc seen with my gcc 4.6.
>
> dlmalloc.c: In function 'malloc_bin_reloc':
> dlmalloc.c:1493: warning: dereferencing pointer 'p' does break strict-aliasing rules
> dlmalloc.c:1493: warning: dereferencing pointer 'p' does break strict-aliasing rules
> dlmalloc.c:1490: note: initialized from here
> dlmalloc.c:1493: note: initialized from here
>
> This version is tested on avr32 arch boards.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
> ---
> since v1:
> * use size_t for array counter instead of int
> * increment the pinter for next iteration
damn, this is in fact a [PATCH v2]. It is a successor of
http://patchwork.ozlabs.org/patch/134597/
Best regards
Andreas Bie?mann
next prev parent reply other threads:[~2012-09-04 21:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 21:31 [U-Boot] [PATCH] Fix strict-aliasing warning in dlmalloc andreas.devel at googlemail.com
2012-09-04 21:40 ` Andreas Bießmann [this message]
2012-09-05 9:41 ` Andreas Bießmann
2012-09-13 12:19 ` Andreas Bießmann
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=5046754A.5030601@googlemail.com \
--to=andreas.devel@googlemail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.