summaryrefslogtreecommitdiff
path: root/share/man/man1
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2014-07-10 19:14:41 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2014-07-10 19:14:41 +0000
commita1e01ddb2efde63310ffee2338bd374c7a5ce214 (patch)
treea4278cfa5c64b609c18b40662a79582b5aac2ae7 /share/man/man1
parent8f2ea803ac796a3190807b5cd9956236580241b7 (diff)
Backport support for -Wframe-larger-than=N to base GCC
This is the flag name that modern GCC and Clang have de facto standardized on for the functionality that we locally named -Wstack-larger-than-N. ok brad, miod
Diffstat (limited to 'share/man/man1')
-rw-r--r--share/man/man1/gcc-local.18
1 files changed, 6 insertions, 2 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index c2d41c7254e..b169dcb5d75 100644
--- a/share/man/man1/gcc-local.1
+++ b/share/man/man1/gcc-local.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gcc-local.1,v 1.42 2014/03/23 17:29:06 pascal Exp $
+.\" $OpenBSD: gcc-local.1,v 1.43 2014/07/10 19:14:40 matthew Exp $
.\"
.\" Copyright (c) 2002 Marc Espie
.\" Copyright (c) 2003 Anil Madhavapeddy
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 23 2014 $
+.Dd $Mdocdate: July 10 2014 $
.Dt GCC-LOCAL 1
.Os
.Sh NAME
@@ -244,7 +244,11 @@ is enabled by default.
supports two extra warning options:
.Bl -item
.It
+.Fl Wframe-larger-than= Ns Va N
+.Po
+and its non-portable alias
.Fl Wstack-larger-than- Ns Va N
+.Pc
will report functions using more than
.Va N
bytes of stack space for their local variables.