Thomas Schwinge, le Fri 25 Oct 2013 15:09:48 +0200, a écrit :
> On Fri, 25 Oct 2013 10:30:20 +0200, Justus Winter
> <4win...@informatik.uni-hamburg.de> wrote:
> > If gcc is used with optimizations -O2, -O3, or -Os, it will enable
> > optimizations that assume that pointers of different type do not
Hi!
On Fri, 25 Oct 2013 10:30:20 +0200, Justus Winter
<4win...@informatik.uni-hamburg.de> wrote:
> If gcc is used with optimizations -O2, -O3, or -Os, it will enable
> optimizations that assume that pointers of different type do not
> alias, i.e. point to the same address. However, we use this a
If gcc is used with optimizations -O2, -O3, or -Os, it will enable
optimizations that assume that pointers of different type do not
alias, i.e. point to the same address. However, we use this a lot,
e.g. in code using libports.
Add -fno-strict-aliasing to CFLAGS to disable optimizations based on
t