buildworld doesn't like -O2
Andreas Hauser
andy-freebsd at splashground.de
Thu Dec 11 06:38:14 PST 2003
des wrote @ Thu, 11 Dec 2003 14:25:08 +0100:
> andy at splashground.de writes:
> > And in this case, as far as i can see, the code does violate the
> > strict aliasing rules.
>
> Yes, and you are welcome to send a patch, but there was none in the
> PR. PRs consisting of nothing but a compiler error message are worse
> than useless.
I see. It just wasn't clear to me from your comment in the PR
wether you considered the code to be a problem at all.
Do you prefer the union version, then please see Andreas Jäger's patch,
or my local version with more varibles and casts, it's rather untested,
or just -fno-strict-aliasing for the offending code parts
or a combination of all of these?
Andy
More information about the freebsd-current
mailing list