-fno-signed-zeros
Allow optimizations for floating-point arithmetic that ignore the
signedness of zero. IEEE arithmetic specifies the behavior of
distinct +0.0 and -0.0 values, which then prohibits
simplification of expressions such as x+0.0 or 0.0*x (even with
-ffinite-math-only). This option implies that the sign of a zero
result isn't significant.
The default is -fsigned-zeros.
$ cat > foo.c
--
Jun, Woong (woong at gmail.com)
http://www.woong.org
man gcc
댓글 달기