On Tue, 4 Apr 2006, Andrew Pinski wrote:
> > On Wed, 5 Apr 2006, chefren wrote:
> >
> > [snip]
> >
> > > How do you think that irritating recommendation will ever get away
> > > without
> > > debugging?
> >
> > By getting rid of gcc.
> >
> > ; Sorry could not resist that one ;-)
>
> Actually I bet ntohs16 is violating C aliasing rules.
>
> So getting rid of GCC actually is wrong. Getting rid
> of these aliasing violations is the correct way.
Glad you're here ;-)
But what is different on debian that the test code compiled there does
not show the bug?
Like I said in another reply, the bug disappears if -fno-gcse is
added to the -O2 -march=i686 flags. Maybe that'll give you a hint...
-Otto