This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: two warnings useful for monitoring stack usage
- To: "Thomas R. Truscott" <trt at cs dot duke dot edu>
- Subject: Re: [PATCH]: two warnings useful for monitoring stack usage
- From: David Whedon <dwhedon at gordian dot com>
- Date: Thu, 25 Jan 2001 17:09:20 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010125125414.G42308@ogun.gordian.com> <200101252134.QAA00791@larry.cs.duke.edu>
Thu, Jan 25, 2001 at 04:34:00PM -0500 wrote:
> > -Wlarge-frame-size=
> > Warn if frame uses greater than specified bytes.
> > -Wlarge-arglist-size=
> > Warn if function argument list uses greater than specified bytes.
>
> I like it. We added a frame-size warning to an in-house compiler.
> How about just -Wframe-size and -Warglist-size?
The only problem I see is that the idea of 'greater than' is lost with just
plain frame-size.
Though I do like the idea of making it simpler, sure, why not.
-David