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

Till Straumann strauman at slac.stanford.edu
Wed May 25 15:14:36 UTC 2011


Is it our old friend in_cksum_hdr() ?

Till


On 05/25/2011 06:28 AM, Sebastian Huber wrote:
> 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!
>




More information about the users mailing list