diff options
author | Tobias Burnus <burnus@net-b.de> | 2011-05-04 17:10:15 +0000 |
---|---|---|
committer | Tobias Burnus <burnus@net-b.de> | 2011-05-04 17:10:15 +0000 |
commit | 5179813eef14e59fb9e8aab429d7e4535aadcd86 (patch) | |
tree | 7e2d93b774a2c1310cd92921181be84f96a5f78c /gcc/fortran/invoke.texi | |
parent | a8035703a077fb6ef434194a620ce89fdc3a391e (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@173385 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/invoke.texi')
-rw-r--r-- | gcc/fortran/invoke.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 0874e5c4bec..d24c2f28fba 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -1488,7 +1488,8 @@ levels such that the compiler does not do any re-association. Using @option{-fno-protect-parens} allows the compiler to reorder @code{REAL} and @code{COMPLEX} expressions to produce faster code. Note that for the re-association optimization @option{-fno-signed-zeros} and @option{-fno-trapping-math} -need to be in effect. +need to be in effect. The parentheses protection is enabled by default, unless +@option{-Ofast} is given. @item -frealloc-lhs @opindex @code{frealloc-lhs} |