Gentoo Archives: gentoo-dev

From: "Harald van Dijk" <truedfx@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] strict-aliasing rules, don't break them
Date: Sat, 17 Jun 2006 13:42:39
Message-Id: 20060617133510.GA1848@gentoo.org
In Reply to: Re: [gentoo-dev] strict-aliasing rules, don't break them by "Kevin F. Quinn"
1 On Sat, Jun 17, 2006 at 03:32:36PM +0200, Kevin F. Quinn wrote:
2 > Easiest way to find these is to stick -Wall in global CFLAGS (or just
3 > -Wstrict-aliasing if you want to be more specific), and grep the build
4 > log for 'will break strict aliasing' (LC_ALL=C obviously).
5
6 That warning is given for valid code too. Please only add
7 -fno-strict-aliasing if you actually find a package misbehaves without
8 it, or if you have verified that there is indeed an aliasing violation
9 in the code.
10 --
11 gentoo-dev@g.o mailing list

Replies