Aliasing problem in ip_input.c with GCC 4.6 on PowerPC?

Sebastian Huber sebastian.huber at embedded-brains.de
Wed May 25 11:28:39 UTC 2011


Hello,

experienced someone network problems with GCC 4.6 on PowerPC?  I have a test
application that works fine with ip_input.c compiled with "-O2
-fno-strict-aliasing" and fails with "-O2 -fstrict-aliasing".  Unfortunately
the difference between the two generated assembler files is quite huge.  The
option -Wstrict-aliasing=1 yields no warnings.

Have a nice day!

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list