aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSeongbae Park <seongbae.park@gmail.com>2008-05-08 22:57:55 +0000
committerSeongbae Park <spark@gcc.gnu.org>2008-05-08 22:57:55 +0000
commitc1a3620ad78478c35dad95354d63d65f2f4aa113 (patch)
tree5e8a421fae4cc65551113a2e54171db47f69a10c /gcc
parent04b03edb56633f6e77d7834022d4e49a74f3cce5 (diff)
downloadgcc-c1a3620ad78478c35dad95354d63d65f2f4aa113.zip
gcc-c1a3620ad78478c35dad95354d63d65f2f4aa113.tar.gz
gcc-c1a3620ad78478c35dad95354d63d65f2f4aa113.tar.bz2
common.opt (Wframe-larger-than=): Shorten the help message to one line.
2008-05-08 Seongbae Park <seongbae.park@gmail.com> * common.opt (Wframe-larger-than=): Shorten the help message to one line. * doc/invoke.texi (Wframe-larger-than=): Add more description. From-SVN: r135097
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/common.opt9
-rw-r--r--gcc/doc/invoke.texi9
3 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7d0a3af..be61f3b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-08 Seongbae Park <seongbae.park@gmail.com>
+ * common.opt (Wframe-larger-than=): Shorten the help message
+ to one line.
+ * doc/invoke.texi (Wframe-larger-than=): Add more description.
+
2008-05-08 Rafael Espindola <espindola@google.com>
* tree-complex.c (expand_complex_div_wide): Don't create CONDs that
diff --git a/gcc/common.opt b/gcc/common.opt
index f5a54c4..e354551 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -112,14 +112,7 @@ Exit on the first error occurred
Wframe-larger-than=
Common RejectNegative Joined UInteger
--Wframe-larger-than=@var{len} Warn whenever a function's stack frame requires
-more than @var{len} bytes. The computation done to determine
-the stack frame size is approximate and not conservative.
-The actual requirements may be somewhat greater than @var{len}
-even if you do not get a warning. In addition, any space allocated
-via @code{alloca}, variable-length arrays, or related constructs
-is not included by the compiler when determining
-whether or not to issue a warning.
+-Wframe-larger-than=<number> Warn if a function's stack frame requires more than <number> bytes
Winline
Common Var(warn_inline) Warning
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index c182399..5ccbda9 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3552,7 +3552,14 @@ Warn whenever an object of larger than @var{len} bytes is defined.
@item -Wframe-larger-than=@var{len}
@opindex Wframe-larger-than
-Warn whenever the size of a function frame is larger than @var{len} bytes.
+Warn if the size of a function frame is larger than @var{len} bytes.
+The computation done to determine the stack frame size is approximate
+and not conservative.
+The actual requirements may be somewhat greater than @var{len}
+even if you do not get a warning. In addition, any space allocated
+via @code{alloca}, variable-length arrays, or related constructs
+is not included by the compiler when determining
+whether or not to issue a warning.
@item -Wunsafe-loop-optimizations
@opindex Wunsafe-loop-optimizations