
16 Oct
2012
16 Oct
'12
3:35 p.m.
Hi Marek,
On Mon, Oct 15, 2012 at 11:28 PM, Marek Vasut marex@denx.de wrote:
Dear Simon Glass,
This fixes warnings seen with my gcc 4.6.
usb_ohci.c: In function 'submit_control_msg': usb_ohci.c:1046: warning: dereferencing pointer 'data_buf.70' does break strict-aliasing rules usb_ohci.c:1046: note: initialized from here usb_ohci.c:1048: warning: dereferencing pointer 'data_buf.70' does break strict-aliasing rules usb_ohci.c:1048: note: initialized from here usb_ohci.c:1050: warning: dereferencing pointer 'data_buf.70' does break strict-aliasing rules
[...]
Are we still seeing these?
I see them with my compiler, but I might be in a minority of one here. I am working on getting a new powerpc tool chain.
Regards, Simon
Best regards, Marek Vasut