aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/invoke.texi
diff options
context:
space:
mode:
authorTobias Burnus <burnus@gcc.gnu.org>2011-05-14 11:39:38 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2011-05-14 11:39:38 +0200
commit2d8c9ad5c96e9a66b11deedb894822143202392e (patch)
tree0ca13f95fa2e388e64eded9cec3391d4ed37605d /gcc/fortran/invoke.texi
parentde8bd1420e94a63faef64c2ccac021fd89a11497 (diff)
downloadgcc-2d8c9ad5c96e9a66b11deedb894822143202392e.zip
gcc-2d8c9ad5c96e9a66b11deedb894822143202392e.tar.gz
gcc-2d8c9ad5c96e9a66b11deedb894822143202392e.tar.bz2
invoke.texi (-Ofast): Also enables -fstack-arrays.
2011-05-14 Tobias Burnus <burnus@net-b.de> * doc/invoke.texi (-Ofast): Also enables -fstack-arrays. 2011-05-14 Tobias Burnus <burnus@net-b.de> * options.c (gfc_init_options, gfc_post_options): Enable -fstack-arrays by default if -Ofast is used. * invoke.texi (-fstack-arrays): Document this. From-SVN: r173751
Diffstat (limited to 'gcc/fortran/invoke.texi')
-rw-r--r--gcc/fortran/invoke.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index f68b18c..ab45072 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -1381,7 +1381,9 @@ The default value for @var{n} is 32768.
Adding this option will make the fortran compiler put all local arrays,
even those of unknown size onto stack memory. If your program uses very
large local arrays it's possible that you'll have to extend your runtime
-limits for stack memory on some operating systems.
+limits for stack memory on some operating systems. This flag is enabled
+by default at optimization level @option{-Ofast}.
+
@item -fpack-derived
@opindex @code{fpack-derived}