summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2011-05-04 19:10:15 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2011-05-04 19:10:15 +0200
commit7a99464652b2b96dfc1bc02cbd4e7c960dc0fb7b (patch)
tree7e2d93b774a2c1310cd92921181be84f96a5f78c /gcc/doc
parente19a18d4e42fcf080cc7c3db2d38d11feade5347 (diff)
downloadgcc-7a99464652b2b96dfc1bc02cbd4e7c960dc0fb7b.tar.gz
re PR fortran/48864 (-Ofast should imply -fno-protect-parens)
gcc/ 2011-05-04 Tobias Burnus <burnus@net-b.de> PR fortran/48864 * doc/invoke.texi (Ofast): Document that it enables Fortran's -fno-protect-parens. gcc/fortran 2011-05-04 Tobias Burnus <burnus@net-b.de> PR fortran/48864 * invoke.texi (fno-protect-parens): Document that -Ofast implies -fno-protect-parens. * options.c (gfc_init_options, gfc_post_options): Make -Ofast imply -fno-protect-parens. From-SVN: r173385
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 8602923e85f..9e276532643 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -5999,7 +5999,8 @@ optimizations designed to reduce code size.
Disregard strict standards compliance. @option{-Ofast} enables all
@option{-O3} optimizations. It also enables optimizations that are not
valid for all standard compliant programs.
-It turns on @option{-ffast-math}.
+It turns on @option{-ffast-math} and the Fortran-specific
+@option{-fno-protect-parens}.
If you use multiple @option{-O} options, with or without level numbers,
the last such option is the one that is effective.