[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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!
>