This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux and aliasing?



  > Either
  > 1. Leave it as it is (the Linux kernel will need -fno-strict-aliasing).
This is my strong preference.

I see no need to make conforming, portable code run slower.  Lots of folks have
already fixed these problems in their code (in large part because vendor
compilers started doing this kind of alias analysis years ago).

Folks working with non-portable code can use -fno-strict-aliasing and pay
the resulting performance penalty.

jeff




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]