aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2010-02-21 14:06:07 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2010-02-21 14:06:07 +0100
commit72bd130e66f28490198385ff62481a719a0103c0 (patch)
treed4fbccbf175b1cb47bc63157005e3fbde3964021 /gcc/doc
parentc76dc9b0e660bb78b5addda708a1b1eeb53ec1b8 (diff)
downloadgcc-72bd130e66f28490198385ff62481a719a0103c0.zip
gcc-72bd130e66f28490198385ff62481a719a0103c0.tar.gz
gcc-72bd130e66f28490198385ff62481a719a0103c0.tar.bz2
re PR fortran/35259 (-fassociative-math not enabled by default; No option to associate with PAREN_EXPRs)
2010-02-21 Tobias Burnus <burnus@net-b.de> PR fortran/35259 * doc/invoke.texi (-fassociative-math): Document that this option is automatically enabled for Fortran. 2010-02-21 Tobias Burnus <burnus@net-b.de> PR fortran/35259 * gfortran.h (gfc_option_t): New flag -fprotect-parens. * lang.opt: Ditto. * option.c (gfc_init_options,gfc_handle_option): Ditto. * trans-expr.c (gfc_conv_expr_op): Use the flag. * invoke.texi: Document new -fno-protect-parens flag. 2010-02-21 Tobias Burnus <burnus@net-b.de> PR fortran/35259 * gfortran.dg/reassoc_5.f90: New test. From-SVN: r156937
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index a7abd01..f661001 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -7541,7 +7541,9 @@ thus cannot be used on a code which relies on rounding behavior like
and thus may not be used when ordered comparisons are required.
This option requires that both @option{-fno-signed-zeros} and
@option{-fno-trapping-math} be in effect. Moreover, it doesn't make
-much sense with @option{-frounding-math}.
+much sense with @option{-frounding-math}. For Fortran the option
+is automatically enabled when both @option{-fno-signed-zeros} and
+@option{-fno-trapping-math} are in effect.
The default is @option{-fno-associative-math}.