- Subject: Re: optimization/7427: gcc-3.1.1 -O2 problem for checksum calculation (powerpc)
- From: Andrew Pinski <pinskia@physics.uc.edu>
- To: Makoto Fujiwara <makoto@ki.nu>
- Date: Sun, 28 Jul 2002 22:53:23 -0400
- Message-Id: <5916B9E2-A29E-11D6-8DC8-000393122612@physics.uc.edu>
- In-Reply-To: <yfmu1mjfffr.wl@u.ki.nu>
You can also just compile this file with -fno-strict-alias.
I think KAME also needs the fix because that is where the file
originally came from. Looks like OpenBSD also has the same problem.
Thanks,
Andrew Pinski
On Sunday, July 28, 2002, at 10:14 , Makoto Fujiwara wrote:
> Thanks Andrew for the invaluable advice,
>
> The code in question is related to the kernel code for NetBSD/macppc.
> (in4_cksum function does not behave correctly if -O2 is used.)
>
> We will discuss this topics in that audience also.
>
> Thanks a lot,
> ---
> Makoto Fujiwara,
>
>