Date: 11 Dec 2003 14:38:12 -0000 From: Andreas Hauser <andy-freebsd@splashground.de> To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no> Cc: current@freebsd.org Subject: Re: buildworld doesn't like -O2 Message-ID: <20031211143812.3190.qmail@paladin.fortunaty.net> In-Reply-To: <xzpbrqfij0r.fsf@dwp.des.no> References: <20031211132010.2491.qmail@paladin.fortunaty.net>,<xzpbrqfij0r.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
des wrote @ Thu, 11 Dec 2003 14:25:08 +0100: > andy@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031211143812.3190.qmail>