From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 16 Oct 2012 08:28:15 +0200 Subject: [U-Boot] [PATCH 4/9] ppc4xx: Fix strict-aliasing warnings in usb_ohci.c In-Reply-To: <1325822097-15227-5-git-send-email-sjg@chromium.org> References: <1325822097-15227-1-git-send-email-sjg@chromium.org> <1325822097-15227-5-git-send-email-sjg@chromium.org> Message-ID: <201210160828.15393.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? Best regards, Marek Vasut