Quote:
Originally Posted by phoenix
Those who muck with CFLAGS and COPTFLAGS be playing with dragons. Best to tread lightly, and carry a big stick.
[Seriously, does anyone actually read the stuff I post, or does everyone just gloss over it?]
|
The documentation says explicitly that it may break some ports...
Code:
# Compiling with -fstrict-aliasing optimization breaks some [notable] ports.
# GCC turns on -fstrict-aliasing optimization at all levels above -O[1], so
# explicitly turn it off when using compiling with the -O2 optimization level.
Therefore, that one caveat should be obvious to anyone who reads the documentation, so I didn't think it worth worrying about. I just don't think it's worthwhile to ignore a potential means of having a more efficient system just because of one well-documented issue that is easily dealt with by using -fno-strict-aliasing.