This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-funsafe-math-optimizations and -fno-rounding-math
- From: Revital1 Eres <ERES at il dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Cc: richard dot guenther at gmail dot com, roger <roger%eyesopen dot _com at il dot ibm dot com>
- Date: Sun, 12 Nov 2006 00:43:09 +0200
- Subject: -funsafe-math-optimizations and -fno-rounding-math
Hello,
-fno-rounding-math enables the transformation of (-(X - Y)) -> (Y - X)
in simplify-rtx.c which seems to be the same transformation
that enabled by -funsafe-math-optimizations in fold-const.c.
If I understand currently -frounding-math means that the rounding mode is
important.
In that case should there be correlation between
-funsafe-math-optimizations
and -fno-rounding-math (which currently does not exist)?
Thanks,
Revital