[PATCH]: two warnings useful for monitoring stack usage
David Whedon
dwhedon@gordian.com
Thu Jan 25 17:09:00 GMT 2001
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
More information about the Gcc-patches
mailing list