Re: [PATCH 1/5] Makeconf: add -fno-strict-aliasing to CFLAGS

2013-11-01 Thread Samuel Thibault
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

Re: [PATCH 1/5] Makeconf: add -fno-strict-aliasing to CFLAGS

2013-10-25 Thread Thomas Schwinge
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

[PATCH 1/5] Makeconf: add -fno-strict-aliasing to CFLAGS

2013-10-25 Thread Justus Winter
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