This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: two warnings useful for monitoring stack usage


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]