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]
Other format: [Raw text]

Re: [PATCH] New flag -Wframe-larger-than-


""Seongbae Park (ëìë, ææå)"" <seongbae.park@gmail.com> writes:
> +@item -Wframe-larger-than-@var{len}
> +@opindex Wframe-larger-than
> +Warn whenever the size of a function frame is larger than @var{len} bytes.

I might be being paranoid, but would it be worth adding some weasel
words to say that frame sizes might go up as well as down when moving
to a newer release?  This isn't the sort of thing you could safely use
with -Werror, for example.

(Also, this patch only accounts for the target-independent parts
of the frame size.  It doesn't include register save areas, etc.)

Richard


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