Dear Andreas Bießmann,

On 04.09.2012 23:31, andreas.de...@googlemail.com wrote:
From: Simon Glass <s...@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 <s...@chromium.org>
Signed-off-by: Andreas Bießmann <andreas.de...@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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to