From: Seongbae Park Date: Thu, 8 May 2008 22:57:55 +0000 (+0000) Subject: common.opt (Wframe-larger-than=): Shorten the help message to one line. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1a3620ad78478c35dad95354d63d65f2f4aa113;p=gcc.git common.opt (Wframe-larger-than=): Shorten the help message to one line. 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. From-SVN: r135097 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d0a3afacaf..be61f3b8654 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 f5a54c4d6b4..e3545514500 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 c1823997b2d..5ccbda9b69f 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