From 15e88abc38861d7fbd6dae24d4e3bb86b807b339 Mon Sep 17 00:00:00 2001 From: spark Date: Thu, 8 May 2008 22:57:55 +0000 Subject: [PATCH] 2008-05-08 Seongbae Park * common.opt (Wframe-larger-than=): Shorten the help message to one line. * doc/invoke.texi (Wframe-larger-than=): Add more description. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135097 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/common.opt | 9 +-------- gcc/doc/invoke.texi | 9 ++++++++- 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 + * 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 * 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= Warn if a function's stack frame requires more than 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 -- 2.7.4